Locations

Create a location for a given target.

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /locations
  • Auth
    • none
    • or HTTP bearer

Query parameters

dryRunstring
onConflict'refresh' | 'reject'

Behavior when the location already exists. 'reject' (default) returns a 409 error, 'refresh' triggers a refresh of the existing location entity and returns 201.

Request body

targetstring required
typestring required

Response

Created

existsboolean

Changes