Types of documents¶
Types of documents are:
Common attributes¶
Warning
These attributes are read only.
id (String)
¶
It is the unique identifier of the document. It is also its URI. So you can do a GET request on a document’s id to get it.
createDate (Datetime)
¶
creation date.
updateDate (String)
¶
Last update date.
Type user¶
These documents holds informations about registered users.
firstName (String)
¶
lastName (String)
¶
email (String)
¶
Warning
To be the user or to have a staff account is required to write/update this attribute
password (String)
¶
Warning
To be the user or to have a staff account is required to write/update this attribute
isActive (Boolean)
¶
Warning
Staff account is required to write/update this attribute
True if the user is active. Inactive users cant’s access the service.
isStaff (Boolean)
¶
Warning
Staff account is required to write/update this attribute
True if the user is a staff member. Only staff members can access the admin interface.
isSuperuser (Boolean)
¶
Warning
Staff account is required to write/update this attribute
True if the user is a super user. Super users have no restrictions when accessing the admin interface.
groups (String)
¶
Warning
Read only
Contains an URI to get groups list of which the user is a member.
Type event¶
Type schema¶
These documents are used to describe and validate the event attribute for the event document type
name (String)
¶
final (Boolean)
¶
Warning
Staff account is required to write/update this attribute
True if the document can be used to validate an event. If false the document must be part of an inheritance.
sample (Object)
¶
Contains a data sample that validate the schema.
template (String)
¶
Contains a template which can be used to render an event as html.
status (Enum)
¶
Warning
Staff account is required to write/update this attribute
- Define document’s status
- PUBLISHED
- DRAFT
- DEPRECATED
Type entity¶
entity (Object)
¶
entity attribute contains a data structure that describes the entity itself. this structure is constrained by a schema document type.
writeGroups (List)
¶
Contains an URI to get write group permissions.
Type category¶
Warning
Create, update and delete require staff privileges
Category are used in event.