rehive.admin.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
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
]
}
}
{- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "archived": false
}
{- "status": "success",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
rehive.admin.legal_terms.get(legal_terms_id)
{- "status": "success",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "archived": false
}
{- "status": "success",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
{- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "archived": false
}
{- "status": "success",
- "data": {
- "id": 0,
- "type": "system",
- "name": "string",
- "description": "string",
- "groups": [
- "string"
], - "versions": [
- {
- "id": 0,
- "version": 0,
- "created": 0,
- "updated": 0
}
], - "archived": true,
- "created": 0,
- "updated": 0
}
}
rehive.admin.legal_terms.obj(legal_terms_id).versions.get()
{- "status": "success",
- "data": {
- "count": 123,
- "results": [
- {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "archived": false,
- "updated": 0
}
]
}
}
{- "note": "string",
- "content": "string",
- "archived": false
}
{- "status": "success",
- "data": {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "archived": false,
- "updated": 0
}
}
rehive.admin.legal_terms.obj(legal_terms_id).versions.get( version_id )
{- "status": "success",
- "data": {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "archived": false,
- "updated": 0
}
}
{- "note": "string",
- "content": "string",
- "archived": false
}
{- "status": "success",
- "data": {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "archived": false,
- "updated": 0
}
}
{- "note": "string",
- "content": "string",
- "archived": false
}
{- "status": "success",
- "data": {
- "id": 0,
- "version": 0,
- "note": "string",
- "content": "string",
- "created": 0,
- "archived": false,
- "updated": 0
}
}