Data Release
Component File Info
Update file info for a component.
Example file info data payload:
.. code-block:: json
[
{
'file_name': 'loremipsum.xml',
'file_data': {
'description': 'Data for Lorem ipsum.',
'conformsTo': 'https://www.fgdc.gov/schemas/metadata/',
'accessURL': 'https://g-dd1028.a1cfb.8443.data.globus.org/a3814b50-0026-466a-9a01-4ecf7631604e/loremipsum.xml',
'useForPreview': False,
}
}
]
useForPreview may only be set to true for .jpeg, jpg, or .png files.
:param: id The ID of the data release. :param: data The file info data.
put/datacatalog/api/component/{id}/file-info
Request
- Base URLhttps://data.usgs.gov (the document declares no server; this is the origin it was published from)
- AuthOAuth 2Authorization code: https://auth.globus.org/v2/oauth2/authorize?scope=openidToken URL: https://data.usgs.gov/datacatalog/api/auth/login
Path parameters
idstring required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.