action osf_collections_metadata_subjects_relationships { label: "Retrieve subject metadata for a specific piece of metadata in a collection" description: "\n#### Permissions\nThis is public for a logged out user when an entity is public.\n#### Returns\nReturns a JSON object containing `data` and `links` keys.\n\nThe `data` key contains an array of nodes ids.\nThe `links` key contains a dictionary of links that can be used for [pagination](#tag/Pagination)." provider: osf method: GET path: "/collections/{collection_id}/collected_metadata/{cgm_id}/relationships/subjects/" encoding: json input: { type: "object" properties: { cgm_id: { type: "string" } collection_id: { type: "string" } } required: ["cgm_id", "collection_id"] additionalProperties: false } output: { type: "object" additionalProperties: true } }