{
"openapi": "3.0.1",
"info": {
"title": "ENGEL PUBLIC API",
"description": "L'API du registre national des gels de la direction générale du Trésor
(ministère de l'économie, des finances et de la relance) permet de visualiser et
télécharger la liste des personnes, entités et navires dont les avoirs sont gelés
sur l'ensemble du territoire français en vertu de mesures onusiennes, européennes
ou nationales.",
"contact": {
"name": "Direction générale du trésor",
"url": "https://www.tresor.economie.gouv.fr/"
},
"version": "v1"
},
"servers": [
{
"url": "/ApiPublic"
}
],
"paths": {
"/api/v1/publication/derniere-publication-date": {
"get": {
"tags": [
"Publication"
],
"summary": "Renvoie la dernière date de publication",
"responses": {
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"text/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"406": {
"description": "Not Acceptable",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"text/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"text/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
},
"application/xml": {
"schema": {
"type": "string"
}
},
"text/xml": {
"schema": {
"type": "string"
}
},
"application/json": {
"schema": {
"type": "string"
}
},
"text/json": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/v1/publication/derniere-publication-flux-json": {
"get": {
"tags": [
"Publication"
],
"summary": "Renvoie la liste des registres de la dernière publication sous la forme d'un flux json",
"responses": {
"500": {
"description": "Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"406": {
"description": "Not Acceptable",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"200": {
"description": "Success"
}
}
}
},
"/api/v1/publication/derniere-publication-flux-xml": {
"get": {
"tags": [
"Publication"
],
"summary": "Renvoie la liste des registres de la dernière publication sous la forme d'un flux xml",
"responses": {
"500": {
"description": "Server Error",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"406": {
"description": "Not Acceptable",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/xml": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/v1/publication/derniere-publication-fichier-json": {
"get": {
"tags": [
"Publication"
],
"summary": "Renvoie la liste des registres de la dernière publication sous la forme d'un fichier json (publication.json)",
"responses": {
"500": {
"description": "Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"406": {
"description": "Not Acceptable",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string",
"format": "byte"
}
}
}
}
}
}
},
"/api/v1/publication/derniere-publication-fichier-xml": {
"get": {
"tags": [
"Publication"
],
"summary": "Renvoie la liste des registres de la dernière publication sous la forme d'un fichier xml (publication.xml)",
"responses": {
"500": {
"description": "Server Error",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"406": {
"description": "Not Acceptable",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/xml": {
"schema": {
"type": "string",
"format": "byte"
}
}
}
}
}
}
},
"/api/v1/publication/schema-json": {
"get": {
"tags": [
"Publication"
],
"summary": "Renvoie le schéma du fichier json (schema.json)",
"responses": {
"500": {
"description": "Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"406": {
"description": "Not Acceptable",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string",
"format": "byte"
}
}
}
}
}
}
},
"/api/v1/publication/schema-xml": {
"get": {
"tags": [
"Publication"
],
"summary": "Renvoie le schéma du fichier xml (shema.xsd)",
"responses": {
"500": {
"description": "Server Error",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"406": {
"description": "Not Acceptable",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"application/xml": {
"schema": {
"$ref": "#/components/schemas/GlobalError"
}
}
}
},
"200": {
"description": "Success",
"content": {
"application/xml": {
"schema": {
"type": "string",
"format": "byte"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"GlobalError": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"status": {
"type": "integer",
"format": "int32"
},
"code": {
"type": "string",
"nullable": true
},
"links": {
"type": "string",
"nullable": true
},
"title": {
"type": "string",
"nullable": true
},
"detail": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
}
}
}
}