openapi: 3.0.1 info: title: EBAD API description: This documentation describe EBAD API. version: 2.7.0 servers: - url: http://localhost:11006/ebad description: Generated server url security: - ebad-api-key: [] - jwt: [] tags: - name: Batch description: the batch API - name: Chaines description: the chaines API - name: API Token description: the API token API - name: Identity description: the identity API - name: Scheduling description: the scheduling API - name: User description: the user API - name: JobRunr description: the JobRunr Admin API - name: Norms description: the norm API - name: Statistics description: the statistic API - name: Environment description: the environment API - name: New description: the new API - name: Accreditation Request description: the accreditation request API - name: TypeFichier description: the typefichier API - name: Global Setting description: the global setting request API - name: Application description: the application API - name: Notifications description: the notification API - name: Account description: the account API - name: Directory description: the directory API - name: Log description: the log API paths: /users: get: tags: - User operationId: getAll parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: firstName in: query schema: type: string - name: lastName in: query schema: type: string - name: password in: query schema: type: string - name: langKey in: query schema: type: string - name: usageApplications in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: login in: query schema: type: string - name: activationKey in: query schema: type: string - name: email in: query schema: type: string - name: authorities in: query schema: type: string - name: activated in: query schema: type: boolean - name: token in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageUserDto' put: tags: - User operationId: saveUser requestBody: content: application/json: schema: $ref: '#/components/schemas/UserAccountDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/UserDto' patch: tags: - User operationId: updateUser requestBody: content: application/json: schema: $ref: '#/components/schemas/UserDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/UserDto' /schedulings: get: tags: - Scheduling operationId: listAll parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageSchedulingDto' put: tags: - Scheduling operationId: addScheduling requestBody: content: application/json: schema: $ref: '#/components/schemas/CreationSchedulingDto' required: true responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/SchedulingDto' /norms: get: tags: - Norms operationId: getAll_1 parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: pathShell in: query schema: type: string - name: name in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: commandLine in: query schema: type: string - name: ctrlMDate in: query schema: type: string responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageNormeDto' put: tags: - Norms operationId: save requestBody: content: application/json: schema: $ref: '#/components/schemas/NormeDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/NormeDto' patch: tags: - Norms operationId: update requestBody: content: application/json: schema: $ref: '#/components/schemas/NormeDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/NormeDto' /news: get: tags: - New operationId: getAll_2 parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageActualiteDto' put: tags: - New operationId: save_1 requestBody: content: application/json: schema: $ref: '#/components/schemas/ActualiteDto' required: true responses: "200": description: OK patch: tags: - New operationId: update_1 requestBody: content: application/json: schema: $ref: '#/components/schemas/ActualiteDto' required: true responses: "200": description: OK /identities: get: tags: - Identity operationId: getAllIdentities parameters: - name: applicationId in: query required: true schema: type: integer format: int64 - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: privatekey in: query schema: type: string - name: password in: query schema: type: string - name: name in: query schema: type: string - name: privatekeyPath in: query schema: type: string - name: passphrase in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: availableApplication in: query schema: type: string - name: login in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PagePublicIdentityDto' put: tags: - Identity operationId: addIdentity requestBody: content: application/json: schema: $ref: '#/components/schemas/CompleteIdentityDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/CompleteIdentityDto' patch: tags: - Identity operationId: updateIdentity requestBody: content: application/json: schema: $ref: '#/components/schemas/CompleteIdentityDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/CompleteIdentityDto' /file-kinds: put: tags: - TypeFichier operationId: addTypeFichier requestBody: content: application/json: schema: $ref: '#/components/schemas/TypeFichierDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/TypeFichierDto' patch: tags: - TypeFichier operationId: updateTypeFichier requestBody: content: application/json: schema: $ref: '#/components/schemas/TypeFichierDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/TypeFichierDto' /environments: get: tags: - Environment operationId: getEnvironmentsFromApp parameters: - name: applicationId in: query required: true schema: type: integer format: int64 - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: pluginId in: query schema: type: string - name: prefix in: query schema: type: string - name: homePath in: query schema: type: string - name: externalId in: query schema: type: string - name: dateTraitement in: query schema: type: string format: date-time - name: norme in: query schema: type: string - name: logBatchs in: query schema: type: string - name: batchs in: query schema: type: string - name: application in: query schema: type: string - name: identity in: query schema: type: string - name: diskSpace in: query schema: type: number format: float - name: name in: query schema: type: string - name: host in: query schema: type: string - name: id in: query schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageEnvironnementDto' put: tags: - Environment operationId: addEnvironnement requestBody: content: application/json: schema: $ref: '#/components/schemas/EnvironnementCreationDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/EnvironnementDto' delete: tags: - Environment operationId: deleteEnvironnement parameters: - name: idEnv in: query required: true schema: type: integer format: int64 responses: "200": description: OK patch: tags: - Environment operationId: updateEnvironnement requestBody: content: application/json: schema: $ref: '#/components/schemas/EnvironnementDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/EnvironnementDto' /directories: put: tags: - Directory operationId: addDirectory requestBody: content: application/json: schema: $ref: '#/components/schemas/DirectoryDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/DirectoryDto' patch: tags: - Directory operationId: updateDirectory requestBody: content: application/json: schema: $ref: '#/components/schemas/DirectoryDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/DirectoryDto' /chains: put: tags: - Chaines operationId: addChaine requestBody: content: application/json: schema: $ref: '#/components/schemas/ChaineDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/ChaineSimpleDto' patch: tags: - Chaines operationId: updateChaine requestBody: content: application/json: schema: $ref: '#/components/schemas/ChaineDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/ChaineSimpleDto' /batchs: get: tags: - Batch operationId: getByPredicate parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: path in: query schema: type: string - name: name in: query schema: type: string - name: chaineAssociations in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: environnements in: query schema: type: string - name: params in: query schema: type: string - name: defaultParam in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageBatchDto' put: tags: - Batch operationId: addBatch requestBody: content: application/json: schema: $ref: '#/components/schemas/BatchDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/BatchDto' patch: tags: - Batch operationId: updateBatch requestBody: content: application/json: schema: $ref: '#/components/schemas/BatchDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/BatchDto' /applications/gestion: get: tags: - Application operationId: getAllManage parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: dateParametrePattern in: query schema: type: string - name: code in: query schema: type: string - name: pluginId in: query schema: type: string - name: usageApplications in: query schema: type: string - name: dateFichierPattern in: query schema: type: string - name: name in: query schema: type: string - name: externalId in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: environnements in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageApplicationDto' put: tags: - Application operationId: createApplication requestBody: content: application/json: schema: $ref: '#/components/schemas/ApplicationDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/ApplicationDto' delete: tags: - Application operationId: removeApplication parameters: - name: appId in: query required: true schema: type: integer format: int64 responses: "200": description: OK patch: tags: - Application operationId: updateApplication requestBody: content: application/json: schema: $ref: '#/components/schemas/ApplicationDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/ApplicationDto' /api-tokens: get: tags: - API Token operationId: findToken parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageApiTokenDto' put: tags: - API Token operationId: createToken requestBody: content: application/json: schema: $ref: '#/components/schemas/ApiTokenDto' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/ApiTokenWithKeyDto' /accreditation-requests: get: tags: - Accreditation Request operationId: findAllMyRequest parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageAccreditationRequestDto' put: tags: - Accreditation Request operationId: createAccreditationRequest requestBody: content: application/json: schema: $ref: '#/components/schemas/CreationAccreditationRequestDto' required: true responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/AccreditationRequestDto' /jobrunr/restart: post: tags: - JobRunr operationId: restartJobRunr responses: "200": description: OK /global-settings/{key}: get: tags: - Global Setting operationId: getValue parameters: - name: key in: path required: true schema: type: string responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/GlobalSettingKeyValueDto' post: tags: - Global Setting operationId: setValue parameters: - name: key in: path required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/GlobalSettingValueDto' required: true responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/GlobalSettingKeyValueDto' /file-kinds/delete: post: tags: - TypeFichier operationId: removeTypeFichier requestBody: content: application/json: schema: $ref: '#/components/schemas/TypeFichierDto' required: true responses: "200": description: OK /environments/import/application/{id}: post: tags: - Environment operationId: importEnvApp parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/EnvironnementDto' /environments/import-all: post: tags: - Environment operationId: importAll responses: "200": description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/EnvironnementDto' /directories/files/upload: post: tags: - Directory operationId: uploadFile parameters: - name: directory in: query required: true schema: type: integer format: int64 - name: subDirectory in: query required: false schema: type: string requestBody: content: multipart/form-data: schema: required: - file type: object properties: file: type: string format: binary responses: "200": description: OK /directories/files/read: post: tags: - Directory operationId: downloadFile requestBody: content: application/json: schema: $ref: '#/components/schemas/FilesDto' required: true responses: default: description: default response content: '*/*': schema: type: string format: binary /directories/files/delete: post: tags: - Directory operationId: removeFileFromDirectory requestBody: content: application/json: schema: $ref: '#/components/schemas/FilesDto' required: true responses: "200": description: OK /directories/delete: post: tags: - Directory operationId: removeDirectory requestBody: content: application/json: schema: $ref: '#/components/schemas/DirectoryDto' required: true responses: "200": description: OK /chains/{id}/run: post: tags: - Chaines operationId: runChaine parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/JobDto' /applications/import-all: post: tags: - Application operationId: importAll_1 responses: "200": description: OK /accreditation-requests/response: post: tags: - Accreditation Request operationId: answerRequest requestBody: content: application/json: schema: $ref: '#/components/schemas/ResponseAccreditationRequestDto' required: true responses: "200": description: OK /account: get: tags: - Account operationId: getAccount responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/UserAccountDto' post: tags: - Account operationId: saveAccount requestBody: content: application/json: schema: $ref: '#/components/schemas/UserAccountDto' required: true responses: "200": description: OK /account/change_password: post: tags: - Account operationId: changePassword requestBody: content: application/json: schema: type: string required: true responses: "200": description: OK /users/roles: patch: tags: - User operationId: changeRoles requestBody: content: application/json: schema: $ref: '#/components/schemas/RolesDTO' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/UserDto' /users/application: patch: tags: - User operationId: changeApplicationAuthority requestBody: content: application/json: schema: $ref: '#/components/schemas/AuthorityApplicationDTO' required: true responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/UserDto' /notifications: get: tags: - Notifications operationId: getUnreadNotification responses: "200": description: OK content: '*/*': schema: type: array items: $ref: '#/components/schemas/NotificationDto' patch: tags: - Notifications operationId: markAsReadNotification responses: "200": description: OK /users/{login}: get: tags: - User operationId: getUser parameters: - name: login in: path required: true schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/UserDto' /users/inactivate/{login}: get: tags: - User operationId: inactivateAccount parameters: - name: login in: path required: true schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/UserDto' /users/current: get: tags: - User operationId: currentUser responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/UserDto' /users/activate: get: tags: - User operationId: activateAccount parameters: - name: key in: query required: true schema: type: string responses: "200": description: OK /statistics: get: tags: - Statistics operationId: getGeneralStatistiques responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/StatisticsDto' /schedulings/{schedulingId}: get: tags: - Scheduling operationId: get parameters: - name: schedulingId in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/SchedulingDto' delete: tags: - Scheduling operationId: delete parameters: - name: schedulingId in: path required: true schema: type: integer format: int64 responses: "200": description: OK /schedulings/env/{environmentId}: get: tags: - Scheduling operationId: listByEnvironment parameters: - name: environmentId in: path required: true schema: type: integer format: int64 - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageSchedulingDto' /norms/{id}: get: tags: - Norms operationId: getOne parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/NormeDto' delete: tags: - Norms operationId: delete_1 parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK /norms/name: get: tags: - Norms operationId: getAllForList parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: pathShell in: query schema: type: string - name: name in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: commandLine in: query schema: type: string - name: ctrlMDate in: query schema: type: string responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageNormLabelIdDto' /news/{id}: get: tags: - New operationId: getOne_1 parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/ActualiteDto' delete: tags: - New operationId: delete_2 parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK /news/public: get: tags: - New operationId: getActualityPublished parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageActualiteDto' /logs: get: tags: - Log operationId: getAllLog parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: executionTime in: query schema: type: integer format: int64 - name: jobId in: query schema: type: string - name: returnCode in: query schema: type: integer format: int32 - name: logDate in: query schema: type: string format: date-time - name: batch in: query schema: type: string - name: dateTraitement in: query schema: type: string format: date-time - name: id in: query schema: type: integer format: int64 - name: environnement in: query schema: type: string - name: params in: query schema: type: string - name: user in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageLogBatchDto' /logs/{env}: get: tags: - Log operationId: getAllLogFromEnv parameters: - name: env in: path required: true schema: type: integer format: int64 - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: executionTime in: query schema: type: integer format: int64 - name: jobId in: query schema: type: string - name: returnCode in: query schema: type: integer format: int32 - name: logDate in: query schema: type: string format: date-time - name: batch in: query schema: type: string - name: dateTraitement in: query schema: type: string format: date-time - name: id in: query schema: type: integer format: int64 - name: environnement in: query schema: type: string - name: params in: query schema: type: string - name: user in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageLogBatchDto' /logs/{env}/{batch}: get: tags: - Log operationId: getAllLogFromEnvBatch parameters: - name: env in: path required: true schema: type: integer format: int64 - name: batch in: path required: true schema: type: integer format: int64 - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: executionTime in: query schema: type: integer format: int64 - name: jobId in: query schema: type: string - name: returnCode in: query schema: type: integer format: int32 - name: logDate in: query schema: type: string format: date-time - name: batch in: query schema: type: string - name: dateTraitement in: query schema: type: string format: date-time - name: id in: query schema: type: integer format: int64 - name: environnement in: query schema: type: string - name: params in: query schema: type: string - name: user in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageLogBatchDto' /logs/job/{jobId}: get: tags: - Log operationId: getLogFromJobId parameters: - name: jobId in: path required: true schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/JobStateDto' /identities/{id}: get: tags: - Identity operationId: getOneIdentity parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/CompleteIdentityDto' /global-settings: get: tags: - Global Setting operationId: getAllSettings responses: "200": description: OK content: '*/*': schema: type: array items: $ref: '#/components/schemas/GlobalSettingKeyValueDto' /file-kinds/application/{app}: get: tags: - TypeFichier operationId: getAllFromEnv parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: app in: path required: true schema: type: integer format: int64 - name: application in: query schema: type: string - name: name in: query schema: type: string - name: pattern in: query schema: type: string - name: id in: query schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageTypeFichierDto' /environments/{env}: get: tags: - Environment operationId: get_1 parameters: - name: env in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/EnvironnementDto' /environments/info/{env}: get: tags: - Environment operationId: getInfo parameters: - name: env in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/EnvironnementInfoDTO' /environments/dateTraitement/{env}: get: tags: - Environment operationId: changeDateTraitement parameters: - name: env in: path required: true schema: type: integer format: int64 - name: dateTraitement in: query required: true schema: type: string format: date-time responses: "200": description: OK content: application/json: schema: type: string /directories/files/{id}: get: tags: - Directory operationId: getFilesFromDirectory parameters: - name: page in: query required: false schema: type: integer format: int32 - name: per_page in: query required: false schema: type: integer format: int32 - name: id in: path required: true schema: type: integer format: int64 - name: subDirectory in: query required: false schema: type: string responses: "200": description: OK content: application/json: schema: type: array items: $ref: '#/components/schemas/FilesDto' /directories/env/{env}: get: tags: - Directory operationId: getAllFromEnv_1 parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: env in: path required: true schema: type: integer format: int64 - name: path in: query schema: type: string - name: canExplore in: query schema: type: boolean - name: name in: query schema: type: string - name: canWrite in: query schema: type: boolean - name: id in: query schema: type: integer format: int64 - name: environnement in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageDirectoryDto' /csrf: get: tags: - Account operationId: getCsrf responses: "200": description: OK /chains/env/{env}: get: tags: - Chaines operationId: getAllFromEnv_2 parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' - name: env in: path required: true schema: type: integer format: int64 - name: name in: query schema: type: string - name: description in: query schema: type: string - name: chaineAssociations in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: environnement in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageChaineDto' /batchs/state/{id}: get: tags: - Batch operationId: streamFlux parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: text/event-stream: schema: $ref: '#/components/schemas/FluxCurrentJobDto' /batchs/run/{id}: get: tags: - Batch operationId: runBatch parameters: - name: id in: path required: true schema: type: integer format: int64 - name: param in: query required: false schema: type: string - name: env in: query required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/JobDto' /authenticate: get: tags: - Account operationId: isAuthenticated responses: "200": description: OK content: application/json: schema: type: string /applications: get: tags: - Application operationId: getAll_3 parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageApplicationDto' /applications/{id}/usages: get: tags: - Application operationId: getAllUsages parameters: - name: id in: path required: true schema: type: integer format: int64 - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageUsageApplicationDto' /applications/write: get: tags: - Application operationId: getAllWrite parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageApplicationDto' /applications/users/{id}: get: tags: - Application operationId: getUsersFromApplication parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: uniqueItems: true type: array items: $ref: '#/components/schemas/UserSimpleDto' /applications/search: get: tags: - Application operationId: findApplication parameters: - name: page in: query description: Zero-based page index (0..N) required: false schema: minimum: 0 type: integer default: 0 - name: size in: query description: The size of the page to be returned required: false schema: minimum: 1 type: integer default: 20 - name: sort in: query description: "Sorting criteria in the format: property(,asc|desc). Default\ \ sort order is ascending. Multiple sort criteria are supported." required: false schema: type: array items: type: string - name: dateParametrePattern in: query schema: type: string - name: code in: query schema: type: string - name: pluginId in: query schema: type: string - name: usageApplications in: query schema: type: string - name: dateFichierPattern in: query schema: type: string - name: name in: query schema: type: string - name: externalId in: query schema: type: string - name: id in: query schema: type: integer format: int64 - name: environnements in: query schema: type: string responses: "200": description: OK content: application/json: schema: $ref: '#/components/schemas/PageApplicationSimpleDto' /applications/moderators/{id}: get: tags: - Application operationId: getModeratorsFromApplication parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK content: application/json: schema: uniqueItems: true type: array items: $ref: '#/components/schemas/UserSimpleDto' /activate: get: tags: - Account operationId: activateAccount_1 parameters: - name: key in: query required: true schema: type: string responses: "200": description: OK content: application/json: schema: type: string /accreditation-requests/need-answer: get: tags: - Accreditation Request operationId: findAll parameters: - name: pageable in: query required: true schema: $ref: '#/components/schemas/Pageable' responses: "200": description: OK content: '*/*': schema: $ref: '#/components/schemas/PageAccreditationRequestDto' /identities/{identityId}: delete: tags: - Identity operationId: deleteIdentity parameters: - name: identityId in: path required: true schema: type: integer format: int64 responses: "200": description: OK /chains/{id}: delete: tags: - Chaines operationId: removeChaine parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK /batchs/{id}: delete: tags: - Batch operationId: deleteBatch parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK /api-tokens/{id}: delete: tags: - API Token operationId: deleteToken parameters: - name: id in: path required: true schema: type: integer format: int64 responses: "200": description: OK components: schemas: UserAccountDto: required: - login - password type: object properties: login: maxLength: 50 minLength: 1 pattern: "^[a-z0-9]*$" type: string password: maxLength: 100 minLength: 5 type: string firstName: maxLength: 50 minLength: 0 type: string lastName: maxLength: 50 minLength: 0 type: string email: maxLength: 100 minLength: 5 type: string langKey: maxLength: 5 minLength: 2 type: string roles: type: array items: type: string AuthorityDto: type: object properties: name: type: string UsageApplicationSimpleDto: type: object properties: applicationId: type: integer format: int64 canManage: type: boolean canUse: type: boolean UserDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 login: type: string password: type: string writeOnly: true firstName: type: string lastName: type: string email: type: string activated: type: boolean langKey: type: string activationKey: type: string token: type: string authorities: uniqueItems: true type: array items: $ref: '#/components/schemas/AuthorityDto' usageApplications: uniqueItems: true type: array items: $ref: '#/components/schemas/UsageApplicationSimpleDto' CreationSchedulingDto: required: - batchId - cron - environmentId type: object properties: batchId: type: integer format: int64 environmentId: type: integer format: int64 parameters: type: string cron: type: string BatchLogDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string path: type: string defaultParam: type: string params: type: string EnvironnementDto: required: - createdBy - createdDate type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string host: type: string identity: $ref: '#/components/schemas/PublicIdentityDto' homePath: type: string prefix: type: string diskSpace: type: number format: float dateTraitement: type: string format: date-time norme: $ref: '#/components/schemas/NormeDto' NormeDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string code: type: string dateFichierPattern: type: string dateParametrePattern: type: string commandLine: type: string pathShell: type: string ctrlMDate: type: string PublicIdentityDto: required: - login - name type: object properties: id: type: integer format: int64 name: type: string login: type: string SchedulingDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 batch: $ref: '#/components/schemas/BatchLogDto' environnement: $ref: '#/components/schemas/EnvironnementDto' parameters: type: string cron: type: string ActualiteDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 title: type: string content: type: string draft: type: boolean CompleteIdentityDto: required: - login - name type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 login: type: string name: type: string password: type: string privatekey: type: string privatekeyPath: type: string passphrase: type: string availableApplication: type: integer format: int64 ApplicationSimpleDto: type: object properties: id: type: integer format: int64 name: type: string code: type: string dateFichierPattern: type: string dateParametrePattern: type: string TypeFichierDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string pattern: type: string application: $ref: '#/components/schemas/ApplicationSimpleDto' ApplicationDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string code: type: string dateFichierPattern: type: string dateParametrePattern: type: string EnvironnementCreationDto: required: - createdBy - createdDate type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time name: type: string application: $ref: '#/components/schemas/ApplicationDto' host: type: string identity: $ref: '#/components/schemas/PublicIdentityDto' homePath: type: string prefix: type: string norme: $ref: '#/components/schemas/NormeDto' BatchEnvironnementDto: type: object properties: id: type: integer format: int64 name: type: string DirectoryDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string path: type: string canWrite: type: boolean canExplore: type: boolean environnement: $ref: '#/components/schemas/BatchEnvironnementDto' ChaineAssociationBatchDto: type: object properties: id: type: integer format: int64 name: type: string ChaineAssociationDto: type: object properties: batchOrder: type: integer format: int32 batch: $ref: '#/components/schemas/ChaineAssociationBatchDto' ChaineDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string description: type: string chaineAssociations: type: array items: $ref: '#/components/schemas/ChaineAssociationDto' environnement: $ref: '#/components/schemas/BatchEnvironnementDto' ChaineSimpleDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string description: type: string environnement: $ref: '#/components/schemas/BatchEnvironnementDto' BatchDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 name: type: string environnements: uniqueItems: true type: array items: $ref: '#/components/schemas/BatchEnvironnementDto' path: type: string defaultParam: type: string params: type: string ApiTokenDto: required: - name type: object properties: id: type: integer format: int64 name: type: string ApiTokenWithKeyDto: type: object properties: id: type: integer format: int64 name: type: string token: type: string CreationAccreditationRequestDto: required: - applicationId - wantManage - wantUse type: object properties: wantManage: type: boolean wantUse: type: boolean applicationId: type: integer format: int64 AccreditationRequestDto: required: - wantManage - wantUse type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 user: $ref: '#/components/schemas/UserSimpleDto' wantManage: type: boolean wantUse: type: boolean application: $ref: '#/components/schemas/ApplicationSimpleDto' state: type: string readOnly: true UserSimpleDto: type: object properties: createdBy: type: string createdDate: type: string format: date-time lastModifiedBy: type: string lastModifiedDate: type: string format: date-time id: type: integer format: int64 login: type: string password: type: string writeOnly: true firstName: type: string lastName: type: string email: type: string activated: type: boolean langKey: type: string activationKey: type: string token: type: string GlobalSettingValueDto: type: object properties: value: type: string GlobalSettingKeyValueDto: type: object properties: key: type: string value: type: string FilesDto: type: object properties: directory: $ref: '#/components/schemas/DirectoryDto' name: type: string size: type: integer format: int64 updateDate: type: string format: date-time createDate: type: string format: date-time subDirectory: type: string folder: type: boolean JobDto: type: object properties: id: type: string format: uuid ResponseAccreditationRequestDto: required: - accepted - id type: object properties: id: type: integer format: int64 accepted: type: boolean RolesDTO: type: object properties: loginUser: type: string roleUser: type: boolean roleAdmin: type: boolean AuthorityApplicationDTO: type: object properties: loginUser: type: string addModo: type: boolean addUser: type: boolean removeUser: type: boolean removeModo: type: boolean idApplication: type: integer format: int64 Pageable: type: object properties: page: minimum: 0 type: integer format: int32 size: minimum: 1 type: integer format: int32 sort: type: array items: type: string PageUserDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/UserDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean Sort: type: object properties: sorted: type: boolean unsorted: type: boolean empty: type: boolean StatisticByDayDto: type: object properties: date: type: string nbr: type: integer format: int64 executionTime: type: number format: double StatisticsDto: type: object properties: usersNbr: type: integer format: int64 batchsRunnedNbrs: type: integer format: int64 avgExecutionTime: type: integer format: int64 batchsNbrs: type: integer format: int64 applicationsNbr: type: integer format: int64 statisticsByDay: type: array items: $ref: '#/components/schemas/StatisticByDayDto' PageSchedulingDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/SchedulingDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean NotificationDto: type: object properties: id: type: integer format: int64 content: type: string createdDate: type: string format: date-time read: type: boolean PageNormeDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/NormeDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean NormLabelIdDto: type: object properties: id: type: integer format: int64 name: type: string PageNormLabelIdDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/NormLabelIdDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageActualiteDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/ActualiteDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean LogBatchDto: type: object properties: id: type: integer format: int64 jobId: type: string batch: $ref: '#/components/schemas/BatchLogDto' environnement: $ref: '#/components/schemas/EnvironnementDto' logDate: type: string format: date-time executionTime: type: integer format: int64 returnCode: type: integer format: int32 params: type: string dateTraitement: type: string format: date-time login: type: string PageLogBatchDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/LogBatchDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean JobStateDto: type: object properties: id: type: string state: type: string log: $ref: '#/components/schemas/LogBatchDto' PagePublicIdentityDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/PublicIdentityDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageTypeFichierDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/TypeFichierDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageEnvironnementDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/EnvironnementDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean EnvironnementInfoDTO: type: object properties: id: type: integer format: int64 diskSpace: type: string dateTraitement: type: string format: date-time PageDirectoryDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/DirectoryDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageChaineDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/ChaineDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageBatchDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/BatchDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean FluxCurrentJobDto: type: object properties: prefetch: type: integer format: int32 PageApplicationDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/ApplicationDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageUsageApplicationDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/UsageApplicationDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean UsageApplicationDto: type: object properties: user: $ref: '#/components/schemas/UserPublicDto' application: $ref: '#/components/schemas/ApplicationDto' canManage: type: boolean canUse: type: boolean UserPublicDto: type: object properties: login: type: string firstName: type: string lastName: type: string PageApplicationSimpleDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/ApplicationSimpleDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageApiTokenDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/ApiTokenDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean PageAccreditationRequestDto: type: object properties: totalPages: type: integer format: int32 totalElements: type: integer format: int64 size: type: integer format: int32 content: type: array items: $ref: '#/components/schemas/AccreditationRequestDto' number: type: integer format: int32 sort: $ref: '#/components/schemas/Sort' first: type: boolean last: type: boolean numberOfElements: type: integer format: int32 pageable: $ref: '#/components/schemas/Pageable' empty: type: boolean securitySchemes: jwt: type: http scheme: bearer bearerFormat: JWT ebad-api-key: type: apiKey name: ebad-api-key in: header