Location¶
GET /locations/private¶
- Method
- GET
- Path
- /locations/private
- Parameters
- This endpoint accepts all generic collection parameters
- Authorization
- OAuth2
- Permissions
- get_private_scope
- Returns
- Array of location objects
GET /locations/public¶
- Method
- GET
- Path
- /locations/public
- Parameters
- This endpoint accepts all generic collection parameters
- Authorization
- OAuth2
- Permissions
- None
- Returns
- Array of location objects
GET /locations/public/<username>¶
- Method
- GET
- Path
- /locations/public/<username>
- Parameters
Name Type Description username string Name of a registered user count number Number of records to receive as query parameter since_time number Time of the earliest object to return (query) In addition to this, this endpoint accepts all generic collection parameters.
- Authorization
- None
- Permissions
- None
- Returns
- Array of location objects
GET /locations/id/<id>¶
- Method
- GET
- Path
- /locations/id/<id>
- Parameters
Name Type Description id string ID of a location object - Authorization
- None if the scope of the object is “public”, otherwise OAuth2
- Permissions
If the scope of the object is “private”:
- get_private_scope
- Returns
- Location object