Download OpenAPI specification:Download
A e-book catalog server compatible with OPDS 1.2, written in Python with a straightforward management REST API for CRUD operations.
List ApiKeys
user_id | string <uuid> User UUID (exact) |
name | string API Key Name (unaccent, icontains) |
last_seen_at__gte | string <date-time> None (gte) |
last_seen_at__lte | string <date-time> None (lte) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "is_active": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create ApiKey
user_id | string (user_id) |
name | string (name) <= 100 characters |
is_active | boolean (is_active) |
{- "user_id": "string",
- "name": "string",
- "is_active": true
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "name": "string",
- "is_active": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
List users
id | string <uuid> None (exact) |
username | string None (icontains) |
name | string None (unaccent, icontains) |
surname | string None (unaccent, icontains) |
is_active | boolean None (exact) |
last_login_gte | string <date-time> None (gte) |
last_login_lte | string <date-time> None (lte) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string",
- "is_superuser": true,
- "is_active": true,
- "last_login": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create user
name required | string (name) <= 30 characters |
surname required | string (surname) <= 150 characters |
password required | string (password) |
is_active | boolean (is_active) |
username required | string (username) <= 200 characters |
{- "name": "string",
- "surname": "string",
- "password": "string",
- "is_active": true,
- "username": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string",
- "is_superuser": true,
- "is_active": true,
- "last_login": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string",
- "is_superuser": true,
- "is_active": true,
- "last_login": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- "string"
], - "catalog_permissions": {
- "property1": "read",
- "property2": "read"
}
}
}
User detail
user_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string",
- "is_superuser": true,
- "is_active": true,
- "last_login": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- "string"
], - "catalog_permissions": {
- "property1": "read",
- "property2": "read"
}
}
}
Update User
user_id required | string <uuid> |
name required | string (name) <= 30 characters |
surname required | string (surname) <= 150 characters |
password | string (password) |
is_active | boolean (is_active) |
{- "name": "string",
- "surname": "string",
- "password": "string",
- "is_active": true
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string",
- "is_superuser": true,
- "is_active": true,
- "last_login": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
List Catalogs
title | string None (unaccent, icontains) |
url_name | string None (unaccent, icontains) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "url_name": "string",
- "title": "string",
- "is_public": true,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create Catalog
url_name required | string (url_name) |
title required | string (title) <= 100 characters |
is_public | boolean (is_public) |
Array of objects (users) |
{- "url_name": "string",
- "title": "string",
- "is_public": true,
- "users": [
- {
- "user_id": "string",
- "mode": "read"
}
]
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "url_name": "string",
- "title": "string",
- "is_public": true,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_catalogs": [ ]
}
}
Get Catalog detail
catalog_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "url_name": "string",
- "title": "string",
- "is_public": true,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_catalogs": [ ]
}
}
Update Catalog
catalog_id required | string <uuid> |
url_name required | string (url_name) |
title required | string (title) <= 100 characters |
is_public | boolean (is_public) |
Array of objects (users) |
{- "url_name": "string",
- "title": "string",
- "is_public": true,
- "users": [
- {
- "user_id": "string",
- "mode": "read"
}
]
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "url_name": "string",
- "title": "string",
- "is_public": true,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user_catalogs": [ ]
}
}
List Feeds
creator_id | string <uuid> None (exact) |
catalog_id | string <uuid> None (exact) |
title | string None (unaccent, icontains) |
kind | string Enum: "navigation" "acquisition" None (exact) |
parent_id | string None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create Feed
catalog_id required | string (catalog_id) |
title required | string (title) <= 100 characters |
url_name required | string (url_name) <= 50 characters |
kind required | string (kind) Enum: "navigation" "acquisition" |
content required | string (content) |
per_page | integer (per_page) >= 1 |
entries | string (entries) |
parents | string (parents) |
{- "catalog_id": "string",
- "title": "string",
- "url_name": "string",
- "kind": "navigation",
- "content": "string",
- "per_page": 1,
- "entries": "string",
- "parents": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Get Feed detail
feed_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update Feed
feed_id required | string <uuid> |
catalog_id required | string (catalog_id) |
title required | string (title) <= 100 characters |
url_name required | string (url_name) <= 50 characters |
kind required | string (kind) Enum: "navigation" "acquisition" |
content required | string (content) |
per_page | integer (per_page) >= 1 |
entries | string (entries) |
parents | string (parents) |
{- "catalog_id": "string",
- "title": "string",
- "url_name": "string",
- "kind": "navigation",
- "content": "string",
- "per_page": 1,
- "entries": "string",
- "parents": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
List Authors
catalog_id | string <uuid> None (exact) |
name | string None (unaccent, icontains) |
surname | string None (unaccent, icontains) |
query | string None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create Author
name required | string (name) <= 255 characters |
surname required | string (surname) <= 255 characters |
catalog_id required | string (catalog_id) |
{- "name": "string",
- "surname": "string",
- "catalog_id": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Get Author detail
author_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update Author
author_id required | string <uuid> |
name required | string (name) <= 255 characters |
surname required | string (surname) <= 255 characters |
catalog_id required | string (catalog_id) |
{- "name": "string",
- "surname": "string",
- "catalog_id": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
List Categories
catalog_id | string <uuid> None (exact) |
term | string None (unaccent, iexact) |
label | string None (unaccent, icontains) |
scheme | string None (unaccent, icontains) |
query | string None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "label": "string",
- "scheme": "string"
}
]
}
Create Category
catalog_id | string (catalog_id) |
term required | string (term) <= 255 characters |
label | string (label) <= 255 characters |
scheme | string (scheme) <= 255 characters |
{- "catalog_id": "string",
- "term": "string",
- "label": "string",
- "scheme": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "label": "string",
- "scheme": "string"
}
}
Get Category detail
category_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "label": "string",
- "scheme": "string"
}
}
Update Category
category_id required | string <uuid> |
catalog_id | string (catalog_id) |
term required | string (term) <= 255 characters |
label | string (label) <= 255 characters |
scheme | string (scheme) <= 255 characters |
{- "catalog_id": "string",
- "term": "string",
- "label": "string",
- "scheme": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "label": "string",
- "scheme": "string"
}
}
List Entries
creator_id | string <uuid> None (exact) |
catalog_id | string <uuid> None (exact) |
catalog_title | string None (unaccent, icontains) |
author_id | string <uuid> Author (exact) |
author | string None (exact) |
category_id | string <uuid> Category (exact) |
category_term | string None (exact) |
language_id | string <uuid> None (exact) |
language_code | string Language (exact) |
title | string None (unaccent, icontains) |
summary | string None (unaccent, icontains) |
query | string None (exact) |
feed_id | string <uuid> None (exact) |
published_at__gte | string None (exact) |
published_at__lte | string None (exact) |
config__readium_enabled | boolean None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create Entry object
catalog_id required | string <uuid> |
id | string (id) |
language_code required | string (language_code) <= 3 characters |
category_ids | string (category_ids) |
Array of objects (authors) | |
author_ids | string (author_ids) |
feeds | string (feeds) |
Array of objects (categories) | |
title required | string (title) <= 255 characters |
publisher | string (publisher) <= 255 characters |
published_at | string (published_at) |
summary | string (summary) |
content | string (content) |
Array of objects (acquisitions) | |
identifiers | string (identifiers) |
image | string <uri> (image) |
object (EntryConfigForm) | |
citation | string (citation) |
{- "id": "string",
- "language_code": "str",
- "category_ids": "string",
- "authors": [
- {
- "name": "string",
- "surname": "string"
}
], - "author_ids": "string",
- "feeds": "string",
- "categories": [
- {
- "catalog_id": "string",
- "term": "string",
- "label": "string",
- "scheme": "string"
}
], - "title": "string",
- "publisher": "string",
- "published_at": "string",
- "summary": "string",
- "content": "string",
- "acquisitions": [
- {
- "relation": "acquisition",
- "prices": [
- {
- "currency_code": "string",
- "value": 0
}
],
}
], - "identifiers": "string",
- "config": {
- "evilflowers_ocr_enabled": true,
- "evilflowers_ocr_rewrite": true,
- "evilflowers_annotations_create": true,
- "evilflowers_viewer_print": true,
- "evilflowers_share_enabled": true,
- "evilflowres_metadata_fetch": true,
- "readium_enabled": true,
- "evilflowers_render_type": "document"
}, - "citation": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "string",
- "publisher": "string",
- "content": "string",
- "identifiers": { }
}
}
Gent Entry detail
catalog_id required | string <uuid> |
entry_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "string",
- "publisher": "string",
- "content": "string",
- "identifiers": { }
}
}
Create Entry
catalog_id required | string <uuid> |
entry_id required | string <uuid> |
relation | string (relation) Enum: "acquisition" "open-access" |
Array of objects (prices) |
{- "relation": "acquisition",
- "prices": [
- {
- "currency_code": "string",
- "value": 0
}
]
}
{- "response": {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "base64": "string",
- "checksum": "string"
}
}
Update Entry
catalog_id required | string <uuid> |
entry_id required | string <uuid> |
id | string (id) |
language_code required | string (language_code) <= 3 characters |
category_ids | string (category_ids) |
Array of objects (authors) | |
author_ids | string (author_ids) |
feeds | string (feeds) |
Array of objects (categories) | |
title required | string (title) <= 255 characters |
publisher | string (publisher) <= 255 characters |
published_at | string (published_at) |
summary | string (summary) |
content | string (content) |
Array of objects (acquisitions) | |
identifiers | string (identifiers) |
image | string <uri> (image) |
object (EntryConfigForm) | |
citation | string (citation) |
{- "id": "string",
- "language_code": "str",
- "category_ids": "string",
- "authors": [
- {
- "name": "string",
- "surname": "string"
}
], - "author_ids": "string",
- "feeds": "string",
- "categories": [
- {
- "catalog_id": "string",
- "term": "string",
- "label": "string",
- "scheme": "string"
}
], - "title": "string",
- "publisher": "string",
- "published_at": "string",
- "summary": "string",
- "content": "string",
- "acquisitions": [
- {
- "relation": "acquisition",
- "prices": [
- {
- "currency_code": "string",
- "value": 0
}
],
}
], - "identifiers": "string",
- "config": {
- "evilflowers_ocr_enabled": true,
- "evilflowers_ocr_rewrite": true,
- "evilflowers_annotations_create": true,
- "evilflowers_viewer_print": true,
- "evilflowers_share_enabled": true,
- "evilflowres_metadata_fetch": true,
- "readium_enabled": true,
- "evilflowers_render_type": "document"
}, - "citation": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "published_at": "string",
- "publisher": "string",
- "content": "string",
- "identifiers": { }
}
}
List Acquisitions
entry_id | string <uuid> None (exact) |
relation | string Enum: "acquisition" "open-access" None (exact) |
mime | string None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
]
}
Get Acquisition detail
acquisition_id required | string <uuid> |
{- "response": {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "base64": "string",
- "checksum": "string"
}
}
Content of Acquisition is imutable from the API users perspective. You can only Acquisition metadata such as it's type (relation) or pricing.
acquisition_id required | string <uuid> |
relation | string (relation) Enum: "acquisition" "open-access" |
Array of objects (prices) |
{- "relation": "acquisition",
- "prices": [
- {
- "currency_code": "string",
- "value": 0
}
]
}
{- "response": {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "base64": "string",
- "checksum": "string"
}
}
Delete acquisition from the database. The related static files will be removed later during the orphans removal process - check GitHub docs.
acquisition_id required | string <uuid> |
{ }
List ShelfRecords
catalog_id | string <uuid> None (exact) |
catalog_title | string None (unaccent, icontains) |
entry_id | string <uuid> None (exact) |
user_id | string <uuid> None (exact) |
author_id | string <uuid> Author (exact) |
author | string None (exact) |
category_id | string <uuid> Category (exact) |
category_term | string None (exact) |
language_id | string <uuid> None (exact) |
language_code | string Language (exact) |
title | string None (unaccent, icontains) |
summary | string None (unaccent, icontains) |
query | string None (exact) |
feed_id | string <uuid> None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "entry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create ShelfRecord
entry_id required | string (entry_id) |
{- "entry_id": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "entry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
List UserAcquisitions
user_id | string <uuid> None (exact) |
acquisition_id | string <uuid> None (exact) |
type | string None (iexact) |
title | string None (unaccent, icontains) |
expire_at__gte | string <date-time> None (gte) |
expire_at__lte | string <date-time> None (lte) |
created_at__gte | string <date-time> None (gte) |
created_at__lte | string <date-time> None (lte) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "shared",
- "range": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string"
}, - "acquisition": {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null
}, - "url": null,
- "entry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "expire_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create UserAcquisition
acquisition_id required | string (acquisition_id) |
type required | string (type) Enum: "shared" "personal" |
range | string (range) |
expire_at | string <date-time> (expire_at) |
{- "acquisition_id": "string",
- "type": "shared",
- "range": "string",
- "expire_at": "2019-08-24T14:15:22Z"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "shared",
- "range": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string"
}, - "acquisition": {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null
}, - "url": null,
- "entry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "expire_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Get UserAcquisition
user_acquisition_id required | string <uuid> UserAcquisition UUID |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "shared",
- "range": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string"
}, - "acquisition": {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null
}, - "url": null,
- "entry": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "shelf_record_id": null,
- "entry_authors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "surname": "string"
}
], - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "term": "string"
}
], - "language": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}, - "feeds": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "catalog_id": "de71ec92-2e85-49a4-a1c0-bcbd8d385f9e",
- "parents": [ ],
- "children": [ ],
- "creator_id": "9cceffdd-8381-4074-8256-eafae24ebee6",
- "title": "string",
- "kind": "navigation",
- "url_name": "string",
- "url": null,
- "content": "string",
- "per_page": null,
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "acquisitions": [
- {
- "relation": "acquisition",
- "mime": "application/pdf",
- "url": null,
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
], - "popularity": 0,
- "title": "string",
- "summary": "string",
- "image_url": null,
- "image_mime": "string",
- "thumbnail_url": null,
- "config": { },
- "citation": "string",
- "touched_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "expire_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
List Annotations
user_acquisition_id | string <uuid> None (exact) |
title | string None (icontains) |
user_id | string <uuid> None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_acquisition_id": "5839a804-7206-46c5-8771-3311902b8d95",
- "title": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create Annotation
user_acquisition_id required | string (user_acquisition_id) |
title required | string (title) |
{- "user_acquisition_id": "string",
- "title": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_acquisition_id": "5839a804-7206-46c5-8771-3311902b8d95",
- "title": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Get Annotation detail
annotation_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_acquisition_id": "5839a804-7206-46c5-8771-3311902b8d95",
- "title": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update Annotation
annotation_id required | string <uuid> |
title required | string (title) |
{- "title": "string"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user_acquisition_id": "5839a804-7206-46c5-8771-3311902b8d95",
- "title": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
List AnnotationItems
annotation_id | string <uuid> None (exact) |
page_number | integer <int32> None (exact) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "annotation_id": "4ed848c0-ec87-421a-9ec8-c4a4b0948c2a",
- "page": 0,
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create AnnotationItem
annotation_id required | string (annotation_id) |
content required | string (content) |
page required | integer (page) |
{- "annotation_id": "string",
- "content": "string",
- "page": 0
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "annotation_id": "4ed848c0-ec87-421a-9ec8-c4a4b0948c2a",
- "page": 0,
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Get AnnotationItem detail
annotation_item_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "annotation_id": "4ed848c0-ec87-421a-9ec8-c4a4b0948c2a",
- "page": 0,
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update AnnotationItem detail
annotation_item_id required | string <uuid> |
annotation_id required | string (annotation_id) |
content required | string (content) |
page required | integer (page) |
{- "annotation_id": "string",
- "content": "string",
- "page": 0
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "annotation_id": "4ed848c0-ec87-421a-9ec8-c4a4b0948c2a",
- "page": 0,
- "content": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Refresh Access Token
refresh required | string (refresh) |
{- "refresh": "string"
}
{- "response": {
- "access_token": "string"
}
}
Create Access Token
username required | string (username) <= 200 characters |
password required | string (password) |
{- "username": "string",
- "password": "string"
}
{- "response": {
- "access_token": "string",
- "refresh_token": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "username": "string",
- "name": "string",
- "surname": "string",
- "is_superuser": true,
- "is_active": true,
- "last_login": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "permissions": [
- "string"
], - "catalog_permissions": {
- "property1": "read",
- "property2": "read"
}
}
}
}
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "alpha2": "string",
- "alpha3": "string"
}
]
}
List Licenses
user_id | string <uuid> User UUID (exact) |
entry_id | string <uuid> Entry UUID (exact) |
state | string Enum: "draft" "active" "returned" "expired" "revoked" "cancelled" The current state of the license (exact) |
starts_at__gte | string <date-time> Licenses that started after the specific datetime (ISO8601) (gte) |
starts_at__lte | string <date-time> Licenses that started before the specific datetime (ISO8601) (lte) |
expires_at__gte | string <date-time> Licenses that expired after the specific datetime (ISO8601) (gte) |
expires_at__lte | string <date-time> Licenses that expired before the specific datetime (ISO8601) (lte) |
{- "metadata": {
- "page": 0,
- "limit": 0,
- "pages": 0,
- "total": 0
}, - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "entry_id": "31513983-613b-4481-b270-ae929f358bae",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "state": "draft",
- "starts_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}
Create a new license
entry_id required | string (entry_id) |
state required | string (state) Enum: "draft" "active" "returned" "expired" "revoked" "cancelled" |
duration required | string (duration) ^P(?!P)(?:(\d+Y)?(\d+M)?(\d+D)?(T(?:(\d+H)?(\... Duration in ISO 8601 format. Example: "PT1H30M" for 1 hour and 30 minutes. The format is defined as follows:
|
starts_at | string <date-time> (starts_at) |
{- "entry_id": "string",
- "state": "draft",
- "duration": "P14D",
- "starts_at": "2019-08-24T14:15:22Z"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "entry_id": "31513983-613b-4481-b270-ae929f358bae",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "state": "draft",
- "starts_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Get License detail
license_id required | string <uuid> |
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "entry_id": "31513983-613b-4481-b270-ae929f358bae",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "state": "draft",
- "starts_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Update License
license_id required | string <uuid> |
state required | string (state) Enum: "draft" "active" "returned" "expired" "revoked" "cancelled" |
duration required | string (duration) ^P(?!P)(?:(\d+Y)?(\d+M)?(\d+D)?(T(?:(\d+H)?(\... Duration in ISO 8601 format. Example: "PT1H30M" for 1 hour and 30 minutes. The format is defined as follows:
|
{- "state": "draft",
- "duration": "P14D"
}
{- "response": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "entry_id": "31513983-613b-4481-b270-ae929f358bae",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "state": "draft",
- "starts_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}
Download UserAcquisition content
user_acquisition_id required | string <uuid> |
{- "title": "string",
- "type": null,
- "detail": null,
- "trace": null,
- "additional_data": null
}