Data Release

Update data services for a component.

Update data service distributions for a component.

This endpoint performs a replacement update of "Data Service" distribution entries. All existing "Data Service" distributions will be removed and replaced with the provided data services. Other distribution types (Globus Guest Collection, Data File, etc.) are preserved and not affected.

An empty array may be passed to remove all existing data services.

Example data payload:

.. code-block:: json

[
    {
        "description": "ArcGIS Service Definition",
        "mediaType": "x-gis/x-arcgis-service-def'",
        "conformsTo": "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core",
        "accessURL": "https://services.arcgis.com/v01gqwM5QqNysAAi/arcgis/rest/services/SB_55c2a2dae4b033ef521069b9_BoatRamps_CRB_feature/FeatureServer"
    }
]

:param id: The ID of the component :param data: List of data service distribution objects

put/datacatalog/api/component/{id}/data-services

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

descriptionstring nullable

Description of the data service

formatstring nullable

Format of the service (if IANA Media Type is not available)

mediaTypestring nullable

IANA Media Type

conformsTostring uri nullable

Standard to which the service conforms

accessURLstring uri nullable

URL to access the service

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.