get https://cgc-api.sbgenomics.com/v2/files//metadata
files/{file_id}/metadata
This call returns the metadata values for the specified file.
Metadata
Learn more about metadata fields and their values for your uploaded, private files on the CGC.
Files are specified by their IDs, which you can obtain by making the API call to list files in a project .
Request
Example request
Header Fields
Name | Description |
---|---|
X-SBG-Auth-Token required | Your CGC authentication token. |
Path parameters
Name | Description |
---|---|
file_id | The ID of the file whose details you want to GET. |
Query parameters
Name | Data type | Description |
---|---|---|
fields | string | Selector specifying a subset of fields to include in the response. |
Response
See a list of CGC-specific response codes that may be contained in the body of the response.