Life cycle and publication flow
All data resources have a lifecycle and an associated publication flow.
By lifecycle we refer to the process of creating, editing, submitting, accepting, rejecting, publishing and deleting a resource. The lifecycle is associated with resource states that relate to user roles. The states are in draft, in revision, accepted, rejected and published, while the user roles correspond to the actions of a Publisher or Editor.
In addition, resources have a hierarchical relationship. From a data source, one or more data views can be created. API method exposes data from a data view.
The following diagram represents the publication flow of the Publisher (or Administrator) role. When creating a new resource, it remains in draft until it is published.
When editing a published resource, a new draft revision is generated, which should be published to impact the production environment.