Skip to main content

Get one location.

GET/api/v1/locations/{location_id}locations:read

Needs View Locations.

Scopelocations:read
AsynchronousNo
MCP toolget_location
Portal permissionsview_locations

Parameters​

NameInTypeRequiredDescription
location_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json Location
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Location​

FieldTypeRequiredDescription
codestring or nullRequired
descriptionstring or nullRequired
is_activeboolean or nullRequiredWhether the location can be used.
location_idstringRequired
location_typestring or nullRequiredThe location type's name; null when none is set.
parent_location_idstring or nullRequiredThe parent location; null for a top-level location.
pathstring or nullRequiredThe location's ancestors' descriptions and its own, joined with ->.
projectobject or nullRequired