rehive.public.companies.get()
{- "status": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "data": {
- "name": "string",
- "label": "string",
- "section": "system",
- "description": "string",
- "default": true
}
}
rehive.public.companies.obj(company_id).legal_terms.get()
{- "status": "success",
- "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": "success",
- "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": "success",
- "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": "success",
- "data": {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "updated": 0
}
}
{- "status": "success",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0
}
], - "created": 0,
- "updated": 0
}
]
}
}
{- "status": "success",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0
}
], - "created": 0,
- "updated": 0
}
}