Data Release

File Info

Update file info for a release.

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/data-release/{id}/file-info

Request

  • Base URL
    https://data.usgs.gov (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Authorization code: https://auth.globus.org/v2/oauth2/authorize?scope=openid
    Token URL: https://data.usgs.gov/datacatalog/api/auth/login

Path parameters

idstring required

Request body

file_namestring required

Response

Successful Response

successboolean required

A boolean (true/false) indicating if the request was successful.

Changes

No recorded changes to this operation across all 1 revision of this API.