102 lines
No EOL
2.6 KiB
JSON
102 lines
No EOL
2.6 KiB
JSON
{
|
|
"apiVersion": "1.0",
|
|
"swaggerVersion": "1.2",
|
|
"basePath": "http://localhost:3000",
|
|
"resourcePath": "dossiers",
|
|
"apis": [
|
|
{
|
|
"path": "/api/v1/procedures/{procedure_id}/dossiers",
|
|
"operations": [
|
|
{
|
|
"summary": "Récupérer la liste de ses dossiers.",
|
|
"parameters": [
|
|
{
|
|
"paramType": "path",
|
|
"name": "procedure_id",
|
|
"type": "integer",
|
|
"description": null,
|
|
"required": false
|
|
},
|
|
{
|
|
"paramType": "query",
|
|
"name": "token",
|
|
"type": "integer",
|
|
"description": null,
|
|
"required": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"responseModel": "Dossier",
|
|
"message": "Success"
|
|
},
|
|
{
|
|
"code": 401,
|
|
"responseModel": null,
|
|
"message": "Unauthorized"
|
|
},
|
|
{
|
|
"code": 404,
|
|
"responseModel": null,
|
|
"message": "Not Found"
|
|
}
|
|
],
|
|
"nickname": "API::V1::Dossiers#index",
|
|
"method": "get"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "/api/v1/procedures/{procedure_id}/dossiers/{id}",
|
|
"operations": [
|
|
{
|
|
"summary": "Récupérer le détails d'un dossier.",
|
|
"parameters": [
|
|
{
|
|
"paramType": "path",
|
|
"name": "procedure_id",
|
|
"type": "integer",
|
|
"description": null,
|
|
"required": false
|
|
},
|
|
{
|
|
"paramType": "path",
|
|
"name": "id",
|
|
"type": "integer",
|
|
"description": null,
|
|
"required": false
|
|
},
|
|
{
|
|
"paramType": "query",
|
|
"name": "token",
|
|
"type": "integer",
|
|
"description": null,
|
|
"required": false
|
|
}
|
|
],
|
|
"responseMessages": [
|
|
{
|
|
"code": 200,
|
|
"responseModel": "Dossier",
|
|
"message": "Success"
|
|
},
|
|
{
|
|
"code": 401,
|
|
"responseModel": null,
|
|
"message": "Unauthorized"
|
|
},
|
|
{
|
|
"code": 404,
|
|
"responseModel": null,
|
|
"message": "Not Found"
|
|
}
|
|
],
|
|
"nickname": "API::V1::Dossiers#show",
|
|
"method": "get"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"authorizations": null
|
|
} |