Get a home

GET/homes/{homeId}

Base URL: https://api.tinkermode.com

Return the home with the specified ID.

Authentication

Send an Authorization header of the form ModeCloud <AUTH_CODE>.

Must contain a user, service account, or project API key.

Path parameters

NameTypeRequiredConstraintsDescription
homeIdintegerYesThe unique ID for a specified home.

Responses

200 Successfully retrieved home with specified ID.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
creationTimestringNoread-only (server-generated); format: date-timeTimestamp of home creation.
deactivatedbooleanNoTrue if home has been deactivated by project admin.
idintegerYesread-only (server-generated)Unique ID assigned at time of creation.
namestringYesDisplay name of home.
projectIdintegerYesread-only (server-generated)Project that this home belongs to.
tenantobjectNoTenant information associated with a home.
Properties of tenant
PropertyTypeRequiredConstraintsDescription
agencyAdminAccessControlGroupIdintegerYesread-only (server-generated)ID of the access control group that serves as the agency admin for this tenant.
identifierstringYesread-only (server-generated)Unique identifier for the tenant within the project.
tenantAdminAccessControlGroupIdintegerYesread-only (server-generated)ID of the access control group that serves as the tenant admin for this tenant.

Response example

{
  "creationTime": "2019-12-18T19:00:26.512Z",
  "id": 1888,
  "name": "Home3",
  "projectId": 1260
}

401 Authorization is required to access this resource.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

403 Request failed because of denied permission.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

404 The requested home does not exist or is not accessible.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

429 Request failed because of rate limit.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

500 An unexpected error has occurred.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.

503 The service is temporarily unavailable.

Content type: application/json

PropertyTypeRequiredConstraintsDescription
dataobjectNoread-only (server-generated)Any relevant data related to error.
reasonstringYesread-only (server-generated)Reason of error.