-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathassociation.graphql
More file actions
48 lines (38 loc) · 1.28 KB
/
association.graphql
File metadata and controls
48 lines (38 loc) · 1.28 KB
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
38
39
40
41
42
43
44
45
46
47
48
"""
Associations are supported between any of the following concepts, and can be made to any/from any of the concepts
- Tool
- Variable
- Service
- Collections
- Order Options
"""
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 {
"Create a new Association."
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]
"Delete an existing Association."
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]
}