GetCommunities
You can fetch a list of all your communities or fetch, create, update, delete a specific one using the Ownly API.
Request URL
GET https://api-dev.theownly.io/v1/communities
Headers
Name | Value | Required? |
---|---|---|
Accept | application/json | Yes |
Authorization | Bearer{APItoken} | Yes |
Parameters
No Parameters
Example Request
curl -X 'GET' \
'https://api-dev.theownly.io/v1/communities' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \
Example Response
{
"id": "uFMhi7hj",
"name": "string",
"subRegion": "string",
"address": "string",
"description": "string",
"longDescription": "string",
"websiteUrl": "string",
"lotMapUrl": "string",
"city": {
"id": "Eynvv3nd",
"name": "Calgary",
"state": "Alberta"
}
}