Base URL: /api/v1/, Version:
This is the API for the Compliance Document Server version: '1.0.0'. It is important to note when reading this API that any given version of a compliance documents is immutable and once a specific version is published it cannot be changed. To update a document a new version must be created.
Path | Operation | Description |
---|---|---|
/v1/ | GET |
Retrieves the basic metadata about the compliance document server |
/v1/{jurisdiction} | GET |
Returns a list of all compliance documents covering the given jurisdiction |
/v1/{jurisdiction}/{type} | GET |
Returns a list of all compliance documents of a given type covering the given jurisdiction |
/v1/{jurisdiction}/{type}/{shortName} | GET |
Returns the latest version of a compliance document |
PUT |
Creates a new compliance document |
|
/v1/{jurisdiction}/{type}/{shortName}/{version} | GET |
Returns a specified version of a compliance document |
PUT |
Updates a compliance document by creating a new version using the specified version name |
|
/v1/{jurisdiction}/{type}/{shortName}/{version}/{documentReference} | GET |
Returns a specific section/paragraph of a compliance document |
PUT |
Updates a section/paragraph of a compliance document creating a new version using the specific version name |
An bearer authorization token to prove the user is authorized to edit/create compliance documents. Acquired from the OATH2 Security Service related to this service.
Retrieves the basic metadata about the compliance document server
Uses default content-types: application/json application/xml
Returns basic metadata about the Compliance Document Server. Equivalent XML Response is returned if content type is set appropriately.
Returns a list of all compliance documents covering the given jurisdiction
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string |
Uses default content-types: application/json application/xml
Returns a list of Compliance Documents. Equivalent XML Response is returned if content type is set appropriately.
Returns a list of all compliance documents of a given type covering the given jurisdiction
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string | |
type | The type of the document as per the defined types in the Compliance Document Specifications |
path | integer , x ∈ { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 9 , 10 } |
Uses default content-types: application/json application/xml
Returns a list of Compliance Documents. Equivalent XML Response is returned if content type is set appropriately.
Returns the latest version of a compliance document
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string | |
type | The type of the document as per the defined types in the Compliance Document Specifications |
path | integer , x ∈ { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 9 , 10 } | |
shortName | The Short URL Friendly Title of the Compliance Document |
path | string | |
diff | The version of the compliance document that should be compared with this one for changes |
query | string | |
query | Instruct the server to return either the full compliance document(full), or provide the outline structure with all content removed (structure) |
query | string , x ∈ { full,structure } |
Uses default content-types: application/json application/xml
Returns the latest version of the compliance document identified by shortName of the given type, covering the given jurisdiction. Response is a compliance document structured according to these specifications. XML or JSON returned according to the content-type specified.
Creates a new compliance document
Uses default content-types: application/json application/xml
A compliance document structured according to these specifications. XML or JSON returned according to the content-type specified.
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string | |
type | The type of the document as per the defined types in the Compliance Document Specifications |
path | integer , x ∈ { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 9 , 10 } | |
shortName | The Short URL Friendly Title of the Compliance Document |
path | string |
Uses default content-types: application/json application/xml
auth |
Returns a specified version of a compliance document
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string | |
type | The type of the document as per the defined types in the Compliance Document Specifications |
path | integer , x ∈ { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 9 , 10 } | |
shortName | The Short URL Friendly Title of the Compliance Document |
path | string | |
version | The version name of the document to retrieve, or the latest version if absent. |
path | string | |
diff | The version of the compliance document that should be compared with this one for changes |
query | string | |
query | Instruct the server to return either the full compliance document(full), or provide the outline structure with all content removed (structure) |
query | string , x ∈ { full,structure } |
Uses default content-types: application/json application/xml
Response is a compliance document structured according to these specifications. XML or JSON expected according to the content-type specified.
Updates a compliance document by creating a new version using the specified version name. This is a PUT operation due to the fact that any given version of a compliance documents is immutable and once a specific version is published it cannot be changed. To update a document a new version must be created.
Uses default content-types: application/json application/xml
A compliance document structured according to these specifications. XML or JSON expected according to the content-type specified.
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string | |
type | The type of the document as per the defined types in the Compliance Document Specifications |
path | integer , x ∈ { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 9 , 10 } | |
shortName | The Short URL Friendly Title of the Compliance Document |
path | string | |
version | The version name of the document section/paragraph being created |
path | string |
Uses default content-types: application/json application/xml
auth |
Returns a specific section/paragraph of a compliance document
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string | |
type | The type of the document as per the defined types in the Compliance Document Specifications |
path | integer , x ∈ { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 9 , 10 } | |
shortName | The Short URL Friendly Title of the Compliance Document |
path | string | |
version | The version name of the document to retrieve, or the latest version if absent. |
path | string | |
documentReference | The reference to the specific section/paragraph to retrieve. Should be a list of section or paragraph numbered seperated by the / character. An example for this is /1/2/a for Section 1, Paragraph 2 sub paragraph a |
path | string | |
diff | The version of the compliance document that should be compared with this one for changes |
query | string | |
query | Instruct the server to return either the full compliance document(full), or provide the outline structure with all content removed (structure) |
query | string , x ∈ { full,structure } |
Uses default content-types: application/json application/xml
Response is a compliance document structured according to these specifications. XML or JSON expected according to the content-type specified.
Updates a section/paragraph of a compliance document by creating a new version of this section/paragraph using the specified version name. This is a PUT operation due to the fact that any given version of a compliance documents is immutable and once a specific version is published it cannot be changed. To update a document a new version must be created.
Uses default content-types: application/json application/xml
A compliance document structured according to these specifications. XML or JSON expected according to the content-type specified.
jurisdiction | The geographical area the document is relevant to. Specified using terms from ISO 3166-2 |
path | string | |
type | The type of the document as per the defined types in the Compliance Document Specifications |
path | integer , x ∈ { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 9 , 10 } | |
shortName | The Short URL Friendly Title of the Compliance Document |
path | string | |
version | The version name of the document section/paragraph being created |
path | string | |
documentReference | The reference to the specific section/paragraph to retrieve. Should be a list of section or paragraph numbered seperated by the / character. An example for this is /1/2/a for Section 1, Paragraph 2 sub paragraph a |
path | string |
Uses default content-types: application/json application/xml
auth |
Represents the essential metadata of a single compliance document within the index of compliance documents
The unique identifier of this compliance document
The shortened name for a compliance document that is used as part of the document URI.
The full, as published, name of the compliance document.
The descriptive name of the latest version of this document.
The date on which the latest version was published.
A list of all versions of this document
The descriptive name of this version of the document.
The date on which this version was published.
The language of the document. Specified using a language code from ISO 639-2
The type of this document. These are defined as: 0: Policy, 1: Legislation, 2: Regulations, 3: Guidance, 4: Standards, 5: Products, 6: Testing/Simulating, 7: Certificates of Conformity, 8: Requirements, 9: Specification.
The geographical area the document is relevant to. Specified using terms from ISO 3166-2
The type of logic embeded within this compliance document
Represents the basic metadata of the compliance document server, including an index of compliance documents
The name of this compliance document server
A description of this compliance document server
The name of the organisation operating this compliance document server
The type of authorisation/authentication service used by this compliance document server
The URL of the OAUTH2 security service utilised by this compliance document server
A list of all document stored on this compliance document server