API-Vitam Version Alpha - Access interne version v1
http://access.internal.vitam.gouv.fr/{version}
- version: required(v1)
Avertissements
Cette version d'API présente des fonctionnalités sous différents statuts :
- Supportées : rien n'est spécifié, la fonctionnalité ou la donnée est supportée
- Non supportées : le mot clef UNSUPPORTED est indiqué et précise que cette fonctionnalité ou donnée n'est pas supportée par l'implémentaton courante
Cette version d'API présente des fonctionnalités sous différentes versions :
- Alpha : l'API est dans une première version, susceptible d'évoluer fortement
- Beta : l'API est proche de sa version stable
- Production : l'API est considérée comme "production ready"
- Deprecated : l'API est considérée comme obsolète et devrait disparaître dans une version majeure prochaine
Pour le moment, la partie /containers/{cid} des paths n'est pas encore pris en compte mais doit être ajoutée à terme.
Licence
Ce document est distribué sous les termes de la Licence Ouverte V2.0
API Access
API Access
ArchiveUnits
API qui définit les requêtes pour accéder aux Unités d'archives. La requête utilise le langage de requête (DSL) de Vitam en entrée et retourne une liste d'Unités d'archives selon le DSL Vitam en cas de succès.
Request that will return results composed of Units
Request that will return results composed of Units. The request is using POST with X-Http-Method-Override: GET
Request that will update a set of Units according to the query and the filter parts. The actions to be applied on the set of Units are specified in the action part of the request.
get /units
Request that will return results composed of Units
Based on Platform Secret
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
}
HTTP status code 200
Returns the list of Units results
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
HTTP status code 206
Returns the list of Units results using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /units
Request that will return results composed of Units. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
Headers
- X-Http-Method-Override: required(GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
}
HTTP status code 200
Returns the list of Units results
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
HTTP status code 206
Returns the list of Units results using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
put /units
Request that will update a set of Units according to the query and the filter parts. The actions to be applied on the set of Units are specified in the action part of the request.
Based on Platform Secret
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id3" ],
"$query": [
],
"$filter": { },
"$action": [{ "$set": { "NewField": "New value" } }]
}
HTTP status code 200
Returns the list of 1 or many Object result according to DSL query
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 1,
"size": 1,
"offset": 0,
"limit": 1,
"time_out": false
},
"$context": {
"$roots": [ "id3" ],
"$query": [
],
"$filter": { },
"$action": [{ "$set": { "NewField": "New value" } }]
},
"$results": [
{
"#id": "id3", "title": "titre 3", "NewField": "New value",
"#type": "DemandeCongés", "#sector": "RessourcesHumaines"
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
API qui définit les requêtes pour accéder aux Unités d'archives à partir d'une Unité donnée (racine). La requête utilise le langage de requête (DSL) de Vitam en entrée et retourne une liste d'Unités d'archives selon le DSL Vitam en cas de succès.
Request that will return results composed of Units
Request that will return results composed of Units. The request is using POST with X-Http-Method-Override: GET
Test the existence of this Unit
Request that will update a set of Units according to the query and the filter parts. The actions to be applied on the set of Units are specified in the action part of the request. In this case this update is to be applied for only one Unit (the one specified in the URI).
get /units/{idu}
Request that will return results composed of Units
Based on Platform Secret
URI Parameters
- idu: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
}
HTTP status code 200
Returns the list of Units results
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
HTTP status code 206
Returns the list of Units results using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /units/{idu}
Request that will return results composed of Units. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- idu: required(string)
Headers
- X-Http-Method-Override: required(GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
}
HTTP status code 200
Returns the list of Units results
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
HTTP status code 206
Returns the list of Units results using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4 }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "title": 1, "#type": 1, "#sector": 1, "#parents": 1, "#object": 1 } },
"$facetQuery": { "$terms": "#object.#type" }
},
"$results": [
{
"#id": "id1", "title": "titre 1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id2", "title": "titre 2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
},
{
"#id": "id3", "title": "titre 3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines",
"#parents": [ { "#id": "id4", "#type": "DossierCongés", "#sector": "RessourcesHumaines" } ],
"#object": { "#id": "id103", "#type": "Image",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 } }
}
],
"$facet": {
"#object.#type": { "Document": 2, "Image": 1 }
}
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
head /units/{idu}
Test the existence of this Unit
Based on Platform Secret
URI Parameters
- idu: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Valid: (boolean)
Allow to check if the item is valid (exists and digest is correct)
HTTP status code 204
No Content, Used to test existence
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 417
Expectation Failed, used in Validation when the required validation (X-Valid) is in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
put /units/{idu}
Request that will update a set of Units according to the query and the filter parts. The actions to be applied on the set of Units are specified in the action part of the request. In this case this update is to be applied for only one Unit (the one specified in the URI).
Based on Platform Secret
URI Parameters
- idu: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id3" ],
"$query": [
],
"$filter": { },
"$action": [{ "$set": { "NewField": "New value" } }]
}
HTTP status code 200
Returns the list of 1 or many Object result according to DSL query
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 1,
"size": 1,
"offset": 0,
"limit": 1,
"time_out": false
},
"$context": {
"$roots": [ "id3" ],
"$query": [
],
"$filter": { },
"$action": [{ "$set": { "NewField": "New value" } }]
},
"$results": [
{
"#id": "id3", "title": "titre 3", "NewField": "New value",
"#type": "DemandeCongés", "#sector": "RessourcesHumaines"
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
API qui définit les requêtes pour accéder à l'Objet d'archives associé à l'Unité d'archives s'il existe. La requête utilise le langage de requête (DSL) de Vitam en entrée et retourne l'objet d'archives selon le DSL Vitam en cas de succès.
Request that will return results composed of Objects (generally 1)
Request that will return results composed of Objects (generally 1). The request is using POST with X-Http-Method-Override: GET
Test the existence of this Object
get /units/{idu}/object
Request that will return results composed of Objects (generally 1)
Based on Platform Secret
URI Parameters
- idu: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
}
HTTP status code 200
Returns the list of 1 Object matching the DSL query
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 1,
"size": 1,
"offset": 0,
"limit": 100,
"time_out": false
},
"$context": {
"$roots": [ ],
"$query": [
],
"$filter": { },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /units/{idu}/object
Request that will return results composed of Objects (generally 1). The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- idu: required(string)
Headers
- X-Http-Method-Override: required(GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
}
HTTP status code 200
Returns the list of 1 Object matching the DSL query
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 1,
"size": 1,
"offset": 0,
"limit": 100,
"time_out": false
},
"$context": {
"$roots": [ ],
"$query": [
],
"$filter": { },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
head /units/{idu}/object
Test the existence of this Object
Based on Platform Secret
URI Parameters
- idu: required(string)
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Valid: (boolean)
Allow to check if the item is valid (exists and digest is correct)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
HTTP status code 204
No Content, Used to test existence
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 417
Expectation Failed, used in Validation when the required validation (X-Valid) is in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Objects
API qui définit les requêtes pour accéder aux Objets d'archives. La requête utilise le langage de requête (DSL) de Vitam en entrée et retourne une liste d'Objets d'archives selon le DSL Vitam en cas de succès.
Request that will return results composed of Objects
Request that will return results composed of Objects. The request is using POST with X-Http-Method-Override: GET
get /objects
Request that will return results composed of Objects
Based on Platform Secret
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
}
HTTP status code 200
Returns the list of Objects matching the DSL query
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
HTTP status code 206
Returns the list of Objects matching the DSL query, using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /objects
Request that will return results composed of Objects. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
Headers
- X-Http-Method-Override: required(GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
}
HTTP status code 200
Returns the list of Objects matching the DSL query
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
HTTP status code 206
Returns the list of Objects matching the DSL query, using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
API qui définit les requêtes pour accéder aux Objets d'archives à partir d'un Objet d'archives donné (racine). La requête utilise le langage de requête (DSL) de Vitam en entrée et retourne une liste d'Objets d'archives selon le DSL Vitam en cas de succès.
Request that will return results composed of Objects (generally 1)
Request that will return results composed of Objects (generally 1). The request is using POST with X-Http-Method-Override: GET
Test the existence of this Object
get /objects/{ido}
Request that will return results composed of Objects (generally 1)
Based on Platform Secret
URI Parameters
- ido: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
}
HTTP status code 200
Returns the list of 1 Object matching the DSL query
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 206
Returns the list of Objects matching the DSL query, using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /objects/{ido}
Request that will return results composed of Objects (generally 1). The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- ido: required(string)
Headers
- X-Http-Method-Override: required(GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
}
HTTP status code 200
Returns the list of 1 Object matching the DSL query
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/zip
Type: any
Media type: application/x-tar
Type: any
Media type: application/octet-stream
Type: any
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 206
Returns the list of Objects matching the DSL query, using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $roots: required(array of string)
Contains all root ids
- $query: required(array of object)
Contains the queries (for all types)
Items:
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
- $data: (object)
Contains the data to insert (for POST only)
Example:
{ "$roots": [ "bbb" ], "$query": [ { "$path": "aaaaa" } ] }
- $roots: required(array of string)
- $results: required(array of object)
Contains list of items
Items:
- $facet: (object)
Contains facet if requested
Example:
{
"$hits": {
"total": 3,
"size": 3,
"offset": 0,
"limit": 1000,
"time_out": false
},
"$context": {
"$roots": [ "id0" ],
"$query": [
{ "$match": { "title": "titre" }, "$depth": 4, "$source": "units" },
{ "$eq": { "#type": "Document" }, "$source": "objects" }
],
"$filter": { "$limit": 1000 },
"$projection": { "$fields": { "#id": 1, "#qualifiers": 1, "#type": 1, "#parents": 1 } }
},
"$results": [
{
"#id": "id101", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id1", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id102", "#type": "Document",
"#qualifiers": { "BinaryMaster": 5, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id2", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
},
{
"#id": "id103", "#type": "Document",
"#qualifiers": { "BinaryMaster": 3, "Dissemination": 1, "Thumbnail": 1, "TextContent": 1 },
"#parents": [ { "#id": "id3", "#type": "DemandeCongés", "#sector": "RessourcesHumaines" } ]
}
]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
head /objects/{ido}
Test the existence of this Object
Based on Platform Secret
URI Parameters
- ido: required(string)
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Valid: (boolean)
Allow to check if the item is valid (exists and digest is correct)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- Accept: required(one of application/json, application/zip, application/octet-stream)
Allow to specify if a result must contain only Metadata ('application/json'), or a complete DIP (one ZIP or TAR containing both Metadata and Binary object) ('application/zip' or 'application/x-tar') or only the Objects with a binary content ('application/octet-stream').
HTTP status code 204
No Content, Used to test existence
Headers
- X-Qualifier: (one of PhysicalMaster, BinaryMaster, Dissemination, Thumbnail, TextContent, All)
The requested qualifier only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the qualifier is missing, it means the Dissemination. Extra qualifier "All" means all Qualifiers in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Version: (integer)
The rank of the version only when used with Accept: application/octet-stream or application/zip or application/x-tar. If the rank is missing, it means the last version. Extra qualifier "All" means all Qualifiers and all Versions in conjunction with application/zip or application/x-tar for GET (HEAD allows all). ONLY VALID with Accept application/octet-stream, application/zip or application/x-tar
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 417
Expectation Failed, used in Validation when the required validation (X-Valid) is in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Operations Logbooks
API d'accès aux Journaux d'opérations (Logbooks Operations). Ce point d'entrée permet de chercher une opération (entrée, audit, élimination, préservation, ...).
La recherche sur cette API retourne pour chaque opération, la première entrée (la création à la date de démarrage de l'opération) et la dernière entrée (dans l'état connu par le journal à la date de la dernière étape de cette opération).
Response model for the listing of Logbook operations.
Response model for the listing of Logbook operations. The request is using POST with X-Http-Method-Override: GET
get /operations
Response model for the listing of Logbook operations.
Based on Platform Secret
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook operations
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook operations using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /operations
Response model for the listing of Logbook operations. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook operations
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook operations using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Accès à une opération.
Response model for one Logbook operation item.
Response model for one Logbook operation item. The request is using POST with X-Http-Method-Override: GET
get /operations/{idop}
Response model for one Logbook operation item.
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook Operation item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /operations/{idop}
Response model for one Logbook operation item. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook Operation item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Permet de lancer une opération de sécurisation des journaux d'opération sur un tenant donné.
post /operations/{idop}/traceability
Permet de lancer une opération de sécurisation des journaux d'opération sur un tenant donné.
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 200
L'opération a été réalisée avec succès. L'ID de l'opération est retournée.
HTTP status code 400
Le tenant n'est pas indiqué, l'opération n'a pu être réalisée.
HTTP status code 500
Un problème interne a empêché l'opération de se dérouler.
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Permet de télécharger le fichier sécurisé des journaux d'opération
Permet de télécharger le fichier sécurisé des journaux d'opération (POST avec X-Http-Method-Override: GET)
get /operations/{idop}/traceability/{idOperation}/datafiles
Permet de télécharger le fichier sécurisé des journaux d'opération
Based on Platform Secret
URI Parameters
- idop: required(string)
- idOperation: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 200
Returns one traceability zip file
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/octet-stream
Type: any
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /operations/{idop}/traceability/{idOperation}/datafiles
Permet de télécharger le fichier sécurisé des journaux d'opération (POST avec X-Http-Method-Override: GET)
Based on Platform Secret
URI Parameters
- idop: required(string)
- idOperation: required(string)
Headers
- X-Http-Method-Override: required(string)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 200
Returns one traceability zip file
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/octet-stream
Type: any
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Permet de vérifier une opération de sécurisation des journaux
post /operations/{idop}/traceabilitychecks
Permet de vérifier une opération de sécurisation des journaux
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one traceability object
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: any
Example:
{
"$hint": {
"total": "1"
},
"$context": {
"$query": {
"$eq": {
"id": "1"
}
},
"$projection": {
},
"$filter": {
}
},
"$result": {
"LogType": "OPERATION",
"StartDate": "2017-03-02T12:46:25.618",
"EndDate": "2017-03-02T14:22:34.811",
"Hash": "obu+Z7+M7JlaY5ney0dDNTzmWr4+r6Cf3GtwMrLKpCLIL7Bjqty8kfUNSGNQ9qlzO3YE7+zRdC2o\/S+uUOJM4g==",
"TimeStampToken": "MIIEZzAVAgEAMBAMDk9wZXJhdGlvbiBPa2F5MIIETAYJKoZIhvcNAQcCoIIEPTCCBDkCAQMxDzANBglghkgBZQMEAgMFADCBgAYLKoZIhvcNAQkQAQSgcQRvMG0CAQEGASkwUTANBglghkgBZQMEAgMFAARAMcCUdvY+87OSgJw3slg+aHgTt+j+UcybWmhG0G9wL7A0NE8eUO8JFJRD81Gb4wTu12AealKzWeUoLczLWRhACQIBARgPMjAxNzAzMDIxNDIyMzVaMYIDnjCCA5oCAQEwTzBKMQswCQYDVQQGEwJGUjEPMA0GA1UECBMGRnJhbmNlMQ4wDAYDVQQHEwVQQXJpczENMAsGA1UEChMERXRhdDELMAkGA1UECxMCRVQCAQEwDQYJYIZIAWUDBAIDBQCgggEgMBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAcBgkqhkiG9w0BCQUxDxcNMTcwMzAyMTQyMjM1WjAtBgkqhkiG9w0BCTQxIDAeMA0GCWCGSAFlAwQCAwUAoQ0GCSqGSIb3DQEBDQUAME8GCSqGSIb3DQEJBDFCBECDgiYpV3Bd\/9ckq0Nq+zm\/TmPWO3rCt33o+cKA8DI5L9EGiEV2GtjO0z4jnw08\/iZ3chanYRrR8hJk4u4Fmqk4MGQGCyqGSIb3DQEJEAIvMVUwUzBRME8wCwYJYIZIAWUDBAIDBEACrDhLC92Gcm2mclJwDuLADobFbVWY5HASuT8FL0\/1nNexkoSVnVclwr0VkxJgmVAxa+g8ecGbwLzDs8vbT9AYMA0GCSqGSIb3DQEBDQUABIICABBtgwv5dZJhWu050wXM27HGZF6yFaU6AOPjjUIQccbly1nw\/Sebg2xRenMv+jxAm8bAdW3eBPNrSa1iJKGLmgfYZuxIwt5AluzVuvTH2t1j08XSMmDQpilhN6Bx9dOS3aClNm89ZVygmdUz6N9HGmxZh1yis80SxD6jDjhnuK6R+xpmdmL6HIDzHa5mjOCbD1lXtr5tWWR+1K9Axv4qoLADlrUKmpCdbnfUBgVdbWJnJBcW6WoQXDpTD\/JbV\/m2s\/yzK7FDt+IpERwVZGqiZF9WwzgX9AFJ352tFWWj+KhqfFN8UgfPKD5aCo6V5T+vMlkodiV+0XQBPKdcPBoo8PJtiCR5sFlJHbQ0qGwQq6P\/06ApvrXOFKz434CkCGTbZLKVEHTs1SqgZuAg54bR6GbifOheVojOhWDFEMEXlnpD7PjCYscL9U83H92Iosr4rJhvYwSYbahmU7W1RlUP4cHy8nUYwvUO54ehYMcKcZ4idG4nbUfVYy8lClYruKG0rVcwWu3TZxeSaLePYRZwaeXJ00p36SttyZTLeN4rZatePQc\/ff856jvKqDlDZlXIyhOcYCXot5xHFlv+zKZhB71uOv\/XvqqmZFhentmkZFYK+qi2tH+Tahar2f3b4RJo+bm235g\/v1rIvKQKe8rjkemgPIG7RzkCnss2SGIpfW5h",
"NumberOfElement": 4,
"FileName": "0_LogbookOperation_20170302_142234.zip",
"Size": 41807
}
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
API d'accès aux Journaux de cycle de vie des Units. Ce point d'entrée permet de chercher un cycle de vie ayant été impacté par cette opération (pour une entrée les archives ayant été intégrées, pour une élimination les archives ayant été éliminées, ...).
La recherche sur cette API retourne uniquement la première ligne et la dernière connue pour chaque journal du cycle de vie en rapport avec l'opération concernée.
Response model for the listing of Logbook unit life cycles
Response model for the listing of Logbook unit life cycles. The request is using POST with X-Http-Method-Override: GET
get /operations/{idop}/unitlifecycles
Response model for the listing of Logbook unit life cycles
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook units life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook units life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /operations/{idop}/unitlifecycles
Response model for the listing of Logbook unit life cycles. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook units life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook units life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Accès à un cycle de vie lié à l'opération en référence (Unit).
Le cycle de vie concerné est retourné complet ou tronqué aux seuls événements liés à l'opération en référence selon l'argument X-Full.
Response model for one Logbook unit life cycle item.
Response model for one Logbook unit life cycle item. The request is using POST with X-Http-Method-Override: GET
get /operations/{idop}/unitlifecycles/{id_lfc}
Response model for one Logbook unit life cycle item.
Based on Platform Secret
URI Parameters
- idop: required(string)
- id_lfc: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook unit life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /operations/{idop}/unitlifecycles/{id_lfc}
Response model for one Logbook unit life cycle item. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- idop: required(string)
- id_lfc: required(string)
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook unit life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
API d'accès aux Journaux de cycle de vie des Objects. Ce point d'entrée permet de chercher un cycle de vie ayant été impacté par cette opération (pour une entrée les archives ayant été intégrées, pour une élimination les archives ayant été éliminées, ...).
La recherche sur cette API retourne uniquement la première ligne et la dernière connue pour chaque journal du cycle de vie en rapport avec l'opération concernée.
Response model for the listing of Logbook object life cycles
Response model for the listing of Logbook object life cycles. The request is using POST with X-Http-Method-Override: GET
get /operations/{idop}/objectlifecycles
Response model for the listing of Logbook object life cycles
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook objects life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook objects life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /operations/{idop}/objectlifecycles
Response model for the listing of Logbook object life cycles. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- idop: required(string)
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook objects life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook objects life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Accès à un cycle de vie lié à l'opération en référence (Object).
Le cycle de vie concerné est retourné complet ou tronqué aux seuls événements liés à l'opération en référence selon l'argument X-Full.
Response model for one Logbook object life cycle item
Response model for one Logbook object life cycle item. The request is using POST with X-Http-Method-Override: GET
get /operations/{idop}/objectlifecycles/{id_lfc}
Response model for one Logbook object life cycle item
Based on Platform Secret
URI Parameters
- idop: required(string)
- id_lfc: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook object life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /operations/{idop}/objectlifecycles/{id_lfc}
Response model for one Logbook object life cycle item. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- idop: required(string)
- id_lfc: required(string)
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook object life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Unit Life Cycle Logbook
API d'accès aux Journaux de cycle de vie des Units.
La recherche sur cette API retourne uniquement la première ligne et la dernière connue pour chaque journal du cycle de vie.
Response model for the listing of Logbook unit life cycles
Response model for the listing of Logbook unit life cycles. The request is using POST with X-Http-Method-Override: GET
get /unitlifecycles
Response model for the listing of Logbook unit life cycles
Based on Platform Secret
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook units life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook units life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /unitlifecycles
Response model for the listing of Logbook unit life cycles. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook units life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook units life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Accès à un cycle de vie (Unit). Le cycle de vie concerné est retourné complet.
Response model for one Logbook unit life cycle item
Response model for one Logbook unit life cycle item. The request is using POST with X-Http-Method-Override: GET
get /unitlifecycles/{id_lfc}
Response model for one Logbook unit life cycle item
Based on Platform Secret
URI Parameters
- id_lfc: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook unit life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /unitlifecycles/{id_lfc}
Response model for one Logbook unit life cycle item. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- id_lfc: required(string)
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook unit life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Transfer Reply
Démarage du traitement de l'ATR adressé par le SAE cible dans le cas d'un transfert
Démarage du traitement de l'ATR adressé par le SAE cible dans le cas d'un transfert
post /transfers/reply
Démarage du traitement de l'ATR adressé par le SAE cible dans le cas d'un transfert
Based on Platform Secret
Headers
- Accept: required(application/xml)
- Content-Type: required(application/json)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- exportWithLogBookLFC: (boolean)
True pour inclure les logbook de cycle de vie des unités archivistiques et groupes d'objets pour le DIP
- transferWithLogBookLFC: (boolean)
True pour inclure les logbook de cycle de vie des unités archivistiques et groupes d'objets pour le transfert
- dslRequest: required(object)
Contient la requête de recherche
- $roots: required(array of string)
Contient les racines de la recherche
- $query: required(array of object)
Contient plusieurs requêtes
Items:
- $filter: (object)
Contient les filtres à appliquer
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contient la projection à appliquer
- $fields: (object)
- $usage: (string)
- $fields: (object)
Example:
{ "$roots": [ "guid1", "guid2" ], "$query": [ { "$eq": { "myField1": "myValue" }, "$depth": 4 } ], "$filter": { "$limit": 100, "$offset": 50 }, "$projection": { "$fields": { "myField1": 1, "myField2.mySubField": 1 } } }
- $roots: required(array of string)
- dataObjectVersionToExport: (object)
L'identifiant du scénario de préservation
- dataObjectVersions: required(array of string)
Liste des versions d'objets à inclure dans l'export
- dataObjectVersions: required(array of string)
- transferRequestParameters: required(object)
Les paramètres nécessaires pour faire un transfert d'unités archivistiques
- archivalAgreement: required(string)
Contrat d'entrée
- originatingAgencyIdentifier: required(string)
Identifiant du service producteur
- archivalAgencyIdentifier: required(string)
Identifiant du service d'archives
- comment: (string)
Intitulé
- submissionAgencyIdentifier: (string)
Identifiant du service versant
- transferringAgency: (string)
Service versant
- transferRequestReplyIdentifier: (string)
Identifiant de la réponse à une demande de transfert
- relatedTransferReference: (array of string)
Référence à un transfert d'archives lié
- archivalAgreement: required(string)
Example:
{
"dataObjectVersionToExport": {
"dataObjectVersions": [
"BinaryMaster"
]
},
"transferWithLogBookLFC": true,
"transferRequestParameters": {
"archivalAgreement": "ArchivalAgreement",
"originatingAgencyIdentifier": "OriginatingAgencyIdentifier",
"comment": "Comment",
"submissionAgencyIdentifier": "SubmissionAgencyIdentifier",
"relatedTransferReference": [
"RelatedTransferReference"
],
"transferRequestReplyIdentifier": "TransferRequestReplyIdentifier",
"archivalAgencyIdentifier": "ArchivalAgencyIdentifier",
"transferringAgency": "TransferringAgency"
},
"dslRequest": {
"$roots": [
"id0"
],
"$query": [
{
"$match": {
"title": "titre"
},
"$depth": 4
}
],
"$filter": {
"$limit": 1000,
"$offset": 10
},
"$projection": {
"$fields": {
"#id": 1,
"title": 1,
"#type": 1,
"#sector": 1,
"#parents": 1,
"#object": 1
}
}
}
}
HTTP status code 200
Lancement du traitement
Body
Media type: application/json
Type: any
HTTP status code 202
Renvoie le statut de l'opération de Transfer
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- httpCode: required(integer)
Short code as in RFC 7231 (Http Status Codes).
- code: required(string)
Vitam standard code.
- context: required(one of ingest, access, query, freeze, destruction, audit, platform, internal)
Type of the task.
- state: required(string)
Vitam standard litteral code.
- message: required(string)
Vitam standard description message.
- description: required(string)
Vitam detailed description of status.
- errors: (array of StandardTypes.Error)
Sub error descriptions.
Items: Error
- httpCode: required(integer)
Short code as in RFC 7231 (Http Status Codes).
- code: required(string)
Vitam standard code.
- context: required(one of ingest, access, query, freeze, destruction, audit, platform, internal)
Type of the task.
- state: required(string)
Vitam standard litteral code.
- message: required(string)
Vitam standard description message.
- description: required(string)
Vitam detailed description of status.
Example:
{ "httpCode": 401, "code": "VitamCode", "context": "ingest", "state": "unauthorized", "message": "The application is not authorized to use this functionality", "description": "The application 'Xxxx' is not authorized to use the 'administration' service, the role 'ADMIN_ROLE' is mandatory." }
- httpCode: required(integer)
- #id: required(string)
Id of the Operation accessible through the corresponding collection specified in "context"
- start_date: required(datetime)
Start date of the operation
Example:
{
"#id": "idTransfer",
"httpCode" : 202,
"code" : "vitamcode",
"context": "access",
"state": "Completed",
"message": "The Transfer is in progress",
"description": "The application 'Xxxx' requested a Transfer operation and this operation is in progress.",
"start_date": "2014-01-10T03:06:17.396Z"
}
HTTP status code 500
Des erreurs interne
Body
Media type: application/json
Type: any
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Object Life Cycle Logbook
API d'accès aux Journaux du Cycle de Vie des archives (Object).
La recherche sur cette API retourne uniquement la première ligne et la dernière connue pour chaque journal du cycle de vie.
Response model for the listing of Logbook object life cycles
Response model for the listing of Logbook object life cycles. The request is using POST with X-Http-Method-Override: GET
get /objectlifecycles
Response model for the listing of Logbook object life cycles
Based on Platform Secret
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook objects life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook objects life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /objectlifecycles
Response model for the listing of Logbook object life cycles. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
- X-Cursor: (boolean)
If present and true means the query could use a cursor as response if necessary
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns the list of matching Logbook objects life cycles
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 206
Returns the list of matching Logbook objects life cycles using Cursor
Headers
- X-Cursor-Id: (string)
If present, means the query could continue with the next set of response, according to current position of the Cursor Id
- X-Cursor-Timeout: (datetime)
When X-Cursor-Id is present, it specifies the date and time limit of the availability of this cursor Id
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "STARTED",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
},
{
"eventIdentifier": "entryId",
"eventType": "CheckSeda",
"eventDateTime": "2015-07-14T17:32:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Accès à un cycle de vie (Object). Le cycle de vie concerné est retourné complet.
Response model for one Logbook object life cycle item
Response model for one Logbook object life cycle item. The request is using POST with X-Http-Method-Override: GET
get /objectlifecycles/{id_lfc}
Response model for one Logbook object life cycle item
Based on Platform Secret
URI Parameters
- id_lfc: required(string)
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook object life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
post /objectlifecycles/{id_lfc}
Response model for one Logbook object life cycle item. The request is using POST with X-Http-Method-Override: GET
Based on Platform Secret
URI Parameters
- id_lfc: required(string)
Headers
- X-Http-Method-Override: (GET)
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one Logbook object life cycle item
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $hits: required(object)
Contains the hits for the response
- total: required(integer)
Total estimated possible answears
- offset: required(integer)
Offset on possible answears
- limit: required(integer)
Limit specified in the request (or implicit) from Offset
- size: required(integer)
Number of currently returned answears
- time_out: (boolean)
True means the request was too long and so only partial result could be retrieved
- total: required(integer)
- $context: required(object)
Contains Request related to this to reply
- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{ "$query": { "$path": "aaaaa" } }
- $query: required(object)
- $results: required(array of object)
Contains list of items
Items:
Example:
{
"$hits": {
"total": 2,
"size": 2,
"offset": 0,
"limit": 100
},
"$context": {
"$query":
{ "$path": "aaaaa" }
},
"$results":
[{
"eventIdentifier": "archiveId",
"eventType": "CheckDigest",
"eventDateTime": "2015-07-14T17:34:05Z",
"eventIdentifierProcess": "workflowId",
"eventTypeProcess": "Ingest",
"outcome" : "OK - digest has been checked",
"eventOutcomeDetail": "404_123456",
"eventOutcomeDetailMessage": "Error message",
"agentIdentifier": "server_identifier",
"agentIdentifierApplication": "remoteApplicationId",
"agentIdentifierApplicationSession": "X-AID",
"eventIdentifierRequest": "W-Request-Id",
"agentIdentifierSubmission": "Submission_agency_Id",
"agentIdentifierOriginating": "Originating_agency_Id",
"objectIdentifier": "Object_or_SIP_Id",
"objectIdentifierRequest": "Request_selecting_objects",
"objectIdentifierIncome": "MessageIdentifier_in_SEDA"
}]
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Traceability
Ce point d'entrée permet d'auditer une ou plusieur opérations de sécurisation des journaux.
Permet de vérifier une opération de sécurisation des journaux
post /traceability/check
Permet de vérifier une opération de sécurisation des journaux
Based on Platform Secret
Headers
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- $query: required(object)
Contains one query
- $filter: (object)
Contains filter to apply (for GET only)
- $offset: (integer - minimum: 1 - maximum: 100000)
- $limit: (integer - minimum: 1 - maximum: 100000)
- $orderby: (object)
- $hint: (one of , cache, nocache)
- $projection: (object)
Contains projection to apply (for GET only)
- $fields: (object)
- $usage: (string)
- $fields: (object)
- $data: (object)
Contains data to insert (for POST only)
- $facetQuery: (object)
Contains facet to apply (for GET only)
- $action: (array of object)
Contains actions to apply as update (for PUT only)
Items:
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Returns one traceability object
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: any
Example:
{
"$hint": {
"total": "1"
},
"$context": {
"$query": {
"$eq": {
"id": "1"
}
},
"$projection": {
},
"$filter": {
}
},
"$result": {
"LogType": "OPERATION",
"StartDate": "2017-03-02T12:46:25.618",
"EndDate": "2017-03-02T14:22:34.811",
"Hash": "obu+Z7+M7JlaY5ney0dDNTzmWr4+r6Cf3GtwMrLKpCLIL7Bjqty8kfUNSGNQ9qlzO3YE7+zRdC2o\/S+uUOJM4g==",
"TimeStampToken": "MIIEZzAVAgEAMBAMDk9wZXJhdGlvbiBPa2F5MIIETAYJKoZIhvcNAQcCoIIEPTCCBDkCAQMxDzANBglghkgBZQMEAgMFADCBgAYLKoZIhvcNAQkQAQSgcQRvMG0CAQEGASkwUTANBglghkgBZQMEAgMFAARAMcCUdvY+87OSgJw3slg+aHgTt+j+UcybWmhG0G9wL7A0NE8eUO8JFJRD81Gb4wTu12AealKzWeUoLczLWRhACQIBARgPMjAxNzAzMDIxNDIyMzVaMYIDnjCCA5oCAQEwTzBKMQswCQYDVQQGEwJGUjEPMA0GA1UECBMGRnJhbmNlMQ4wDAYDVQQHEwVQQXJpczENMAsGA1UEChMERXRhdDELMAkGA1UECxMCRVQCAQEwDQYJYIZIAWUDBAIDBQCgggEgMBoGCSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAcBgkqhkiG9w0BCQUxDxcNMTcwMzAyMTQyMjM1WjAtBgkqhkiG9w0BCTQxIDAeMA0GCWCGSAFlAwQCAwUAoQ0GCSqGSIb3DQEBDQUAME8GCSqGSIb3DQEJBDFCBECDgiYpV3Bd\/9ckq0Nq+zm\/TmPWO3rCt33o+cKA8DI5L9EGiEV2GtjO0z4jnw08\/iZ3chanYRrR8hJk4u4Fmqk4MGQGCyqGSIb3DQEJEAIvMVUwUzBRME8wCwYJYIZIAWUDBAIDBEACrDhLC92Gcm2mclJwDuLADobFbVWY5HASuT8FL0\/1nNexkoSVnVclwr0VkxJgmVAxa+g8ecGbwLzDs8vbT9AYMA0GCSqGSIb3DQEBDQUABIICABBtgwv5dZJhWu050wXM27HGZF6yFaU6AOPjjUIQccbly1nw\/Sebg2xRenMv+jxAm8bAdW3eBPNrSa1iJKGLmgfYZuxIwt5AluzVuvTH2t1j08XSMmDQpilhN6Bx9dOS3aClNm89ZVygmdUz6N9HGmxZh1yis80SxD6jDjhnuK6R+xpmdmL6HIDzHa5mjOCbD1lXtr5tWWR+1K9Axv4qoLADlrUKmpCdbnfUBgVdbWJnJBcW6WoQXDpTD\/JbV\/m2s\/yzK7FDt+IpERwVZGqiZF9WwzgX9AFJ352tFWWj+KhqfFN8UgfPKD5aCo6V5T+vMlkodiV+0XQBPKdcPBoo8PJtiCR5sFlJHbQ0qGwQq6P\/06ApvrXOFKz434CkCGTbZLKVEHTs1SqgZuAg54bR6GbifOheVojOhWDFEMEXlnpD7PjCYscL9U83H92Iosr4rJhvYwSYbahmU7W1RlUP4cHy8nUYwvUO54ehYMcKcZ4idG4nbUfVYy8lClYruKG0rVcwWu3TZxeSaLePYRZwaeXJ00p36SttyZTLeN4rZatePQc\/ff856jvKqDlDZlXIyhOcYCXot5xHFlv+zKZhB71uOv\/XvqqmZFhentmkZFYK+qi2tH+Tahar2f3b4RJo+bm235g\/v1rIvKQKe8rjkemgPIG7RzkCnss2SGIpfW5h",
"NumberOfElement": 4,
"FileName": "0_LogbookOperation_20170302_142234.zip",
"Size": 41807
}
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 412
Precondition Failed, some predicates are incorrect, therefore the operation is not possible
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
Permet de vérifier des opérations de sécurisation des journaux
post /traceability/linkedcheck
Permet de vérifier des opérations de sécurisation des journaux
Based on Platform Secret
Body
Media type: application/json
Type: object
Example:
{
"$query":
{ "$range": {
"start_date": {
"$gte": "2014-01-10", "$lte": "2014-03-10"
}
}
},
"$filter": { "$limit": 100 },
"$projection": { "$fields": { "#id": 1, "start_date": 1, "state": 1 } }
}
HTTP status code 200
Succès
Body
Media type: application/json
Type: any
HTTP status code 400
Precondition Failed
Body
Media type: application/json
Type: any
HTTP status code 500
Internal Server Error
Body
Media type: application/json
Type: any
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key
/status
get /status
Based on Platform Secret
HTTP status code 200
OK, operation in success
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
Body
Media type: application/json
Type: object
Properties- id: required(string)
Id of the instance
- service: required(string)
Service Name for this instance
- startDate: required(datetime)
Date time for the start of this instance
- status: required(one of Active, Inactive, ShutdownInProgress, Unreachable)
Status of this instance
Example:
{
"id": "abcdef",
"service": "serviceName",
"startDate": "2015-07-14T17:07:14Z",
"status": "Active"
}
HTTP status code 401
Unauthorized, authentication in error
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 404
Not Found, requested resource does not exist
Headers
- X-Request-Id: required(string)
Unique Request Identifier
Example:
AbDUh67jj
- FullApiVersion: required(string)
Complete Version of the API.
Example:
V1.25
- X-Application-Id: (string)
Session Identifier from client Front-Office Application
Example:
SESSION-ID-00001
- X-Tenant-Id: (number)
Unique Tenant Identifier
Example:
0
HTTP status code 503
Service Unavailable, the requested service is unavailable
Secured by VitamPlatform
Headers
- X-Vitam-Key: required(string)
Vitam Platform Key