Ground Imagery

POST /filedrop/udl-groundimagery

Changed on

Upload a new image with its metadata.

The request body requires a zip file containing exactly two files:
1) A file with the .json file extension whose content conforms to the GroundImagery_Ingest schema. 2) A binary image file of the allowed types for this service.

The JSON and image files will be associated with each other via the id field. Query the metadata via GET /udl/groundimagery and use GET /udl/groundimagery/getFile/{id} to retrieve the binary image file.

This operation only accepts application/zip media. The application/json request body is documented to provide a convenient reference to the ingest schema.

This operation is intended to be used for automated feeds into UDL. A specific role is required to perform this service operation. Please contact the UDL team for assistance.

Request

  • Base URL
    https://imagery.unifieddatalibrary.com
  • URL
    https://imagery.unifieddatalibrary.com/filedrop/udl-groundimagery
  • Auth
    none declared

Request body multipart/form-data

filestring binary required

Zip file containing files described in the specification

Response

Accepted

Changes

    • info

      added the non-success response with the status

    • breaking

      removed the media type application/json from the request body

    • info

      the endpoint scheme security BasicAuth was removed from the API

    • info

      added the media type multipart/form-data to the request body

Some revisions have not been checked yet.