-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathassociation.graphql
37 lines (28 loc) · 1.04 KB
/
association.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
type AssociationMutationResponse {
"The unique id assigned to a CMR concept."
conceptId: String
"The revision id of the Association."
revisionId: Int
"The unique id assigned to the CMR concept associated with this conceptId"
associatedConceptId: String
}
type Mutation {
createAssociation (
"The concept id of the associated record."
conceptId: String!
"Concept id to associate with the provided concept id."
associatedConceptId: String
"List of concept ids to associate with the provided concept id."
associatedConceptIds: [String]
"A JSON object that stores additional information specific to this association"
associatedConceptData: JSON
): [AssociationMutationResponse]
deleteAssociation (
"The concept id of the associated record."
conceptId: String!
"Concept id to disassociate with the provided concept id."
associatedConceptId: String
"List of concept ids to disassociate with the provided concept id."
associatedConceptIds: [String]
): [AssociationMutationResponse]
}