rehive.public.companies.get()
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "support_email": "user@example.com",
- "contact_email": "user@example.com",
- "country": "AF",
- "metadata": {
- "property1": null,
- "property2": null
}, - "settings": {
- "allow_session_durations": true,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}, - "services": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
], - "mode": "test",
- "status": "pending",
- "created": 0,
- "updated": 0
}
]
}
}
rehive.public.companies.get(company_id)
{- "status": "string",
- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "support_email": "user@example.com",
- "contact_email": "user@example.com",
- "country": "AF",
- "metadata": {
- "property1": null,
- "property2": null
}, - "settings": {
- "allow_session_durations": true,
- "nationalities": [
- "AF"
], - "residencies": [
- "AF"
]
}, - "services": [
- {
- "id": 0,
- "slug": "string",
- "name": "string",
- "url": "string",
- "type": "system"
}
], - "mode": "test",
- "status": "pending",
- "created": 0,
- "updated": 0
}
}
rehive.public.companies.obj(company_id).groups.get()
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "name": "string",
- "label": "string",
- "section": "system",
- "description": "string",
- "default": true
}
]
}
}
rehive.public.companies.obj(company_id).groups.get(group_name)
{- "status": "string",
- "data": {
- "name": "string",
- "label": "string",
- "section": "system",
- "description": "string",
- "default": true
}
}
rehive.public.companies.obj(company_id).legal_terms.get()
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0
}
], - "created": 0,
- "updated": 0
}
]
}
}
rehive.public.companies.obj(company_id).legal_terms.get( legal_term_id )
{- "status": "string",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0
}
], - "created": 0,
- "updated": 0
}
}
rehive.public.companies.obj(company_id).legal_terms.get( legal_term_id ).versions.get()
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "updated": 0
}
]
}
}
rehive.public.companies.obj(company_id).legal_terms.get( legal_term_id ).versions.get(version_id)
{- "status": "string",
- "data": {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "updated": 0
}
}
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": "string",
- "provider": "apple",
- "application": "string",
- "client_id": "string",
- "created": 0,
- "updated": 0
}
]
}
}
{- "status": "string",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0
}
], - "created": 0,
- "updated": 0
}
]
}
}
{- "status": "string",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0
}
], - "created": 0,
- "updated": 0
}
}