MICROSERVICE FILE CATALOG ('@project.version@')
Download OpenAPI specification:
License: GPL-3.0
File Catalog API
Update a storage location configuration
Update the configuration of a storage location by providing its details.
Authorizations:
REGARDS_OAUTH2
path Parameters
| id required | string |
Request Body schema: application/jsonrequired
| allowsPhysicalDeletion | boolean |
object (StorageLocationConfigurationDto) | |
| copyRunning | boolean |
| deletionRunning | boolean |
| name | string |
| nbDeletionError | integer <int64> |
| nbFilesStored | integer <int64> |
| nbFilesStoredWithPendingActionRemaining | integer <int64> |
| nbStorageError | integer <int64> |
| pendingActionRemaining | boolean |
| pendingActionRunning | boolean |
| storageRunning | boolean |
| totalStoredFilesSizeKo | integer <int64> |
Responses
Request samples
- Payload
Content type
application/json
{- "configuration": {
- "id": 0,
- "name": "string",
- "pluginConfiguration": {
- "metaData": {
- "pluginClassName": "string",
- "interfaceNames": [
- "string"
], - "author": "string",
- "pluginId": "string",
- "version": "string",
- "description": "string",
- "markdown": "string",
- "userMarkdown": "string",
- "url": "string",
- "contact": "string",
- "owner": "string",
- "license": "string",
- "parameters": [
- {
- "name": "string",
- "keyLabel": "string",
- "label": "string",
- "description": "string",
- "markdown": "string",
- "userMarkdown": "string",
- "parameterizedSubTypes": [
- "STRING"
], - "type": "STRING",
- "pluginType": "string",
- "defaultValue": "string",
- "optional": true,
- "sensitive": true,
- "unconfigurable": true,
- "sensible": true
}
], - "licence": "string"
}, - "pluginId": "string",
- "label": "string",
- "businessId": "string",
- "version": "string",
- "priorityOrder": 0,
- "active": true,
- "iconUrl": "string",
- "parameters": [
- {
- "dynamic": true,
- "name": "string",
- "value": { },
- "type": "STRING"
}
]
}, - "storageType": "ONLINE",
- "priority": 0,
- "allocatedSizeInKo": 0,
- "useInternalCache": true
}, - "name": "string",
- "nbFilesStored": 0,
- "nbDeletionError": 0,
- "nbStorageError": 0,
- "nbFilesStoredWithPendingActionRemaining": 0,
- "totalStoredFilesSizeKo": 0,
- "storageRunning": true,
- "deletionRunning": true,
- "copyRunning": true,
- "pendingActionRunning": true,
- "pendingActionRemaining": true,
- "allowsPhysicalDeletion": true
}Create a new storage location
Create a new storage location by specifying its name. Returns the created storage location.
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
| allowsPhysicalDeletion | boolean |
object (StorageLocationConfigurationDto) | |
| copyRunning | boolean |
| deletionRunning | boolean |
| name | string |
| nbDeletionError | integer <int64> |
| nbFilesStored | integer <int64> |
| nbFilesStoredWithPendingActionRemaining | integer <int64> |
| nbStorageError | integer <int64> |
| pendingActionRemaining | boolean |
| pendingActionRunning | boolean |
| storageRunning | boolean |
| totalStoredFilesSizeKo | integer <int64> |
Responses
Request samples
- Payload
Content type
application/json
{- "configuration": {
- "id": 0,
- "name": "string",
- "pluginConfiguration": {
- "metaData": {
- "pluginClassName": "string",
- "interfaceNames": [
- "string"
], - "author": "string",
- "pluginId": "string",
- "version": "string",
- "description": "string",
- "markdown": "string",
- "userMarkdown": "string",
- "url": "string",
- "contact": "string",
- "owner": "string",
- "license": "string",
- "parameters": [
- {
- "name": "string",
- "keyLabel": "string",
- "label": "string",
- "description": "string",
- "markdown": "string",
- "userMarkdown": "string",
- "parameterizedSubTypes": [
- "STRING"
], - "type": "STRING",
- "pluginType": "string",
- "defaultValue": "string",
- "optional": true,
- "sensitive": true,
- "unconfigurable": true,
- "sensible": true
}
], - "licence": "string"
}, - "pluginId": "string",
- "label": "string",
- "businessId": "string",
- "version": "string",
- "priorityOrder": 0,
- "active": true,
- "iconUrl": "string",
- "parameters": [
- {
- "dynamic": true,
- "name": "string",
- "value": { },
- "type": "STRING"
}
]
}, - "storageType": "ONLINE",
- "priority": 0,
- "allocatedSizeInKo": 0,
- "useInternalCache": true
}, - "name": "string",
- "nbFilesStored": 0,
- "nbDeletionError": 0,
- "nbStorageError": 0,
- "nbFilesStoredWithPendingActionRemaining": 0,
- "totalStoredFilesSizeKo": 0,
- "storageRunning": true,
- "deletionRunning": true,
- "copyRunning": true,
- "pendingActionRunning": true,
- "pendingActionRemaining": true,
- "allowsPhysicalDeletion": true
}Delete storage requests
Delete requests of a storage location based on its name, request type, and optionally the request status.
Authorizations:
REGARDS_OAUTH2
path Parameters
| id required | string |
| type required | string Enum: "AVAILABILITY" "COPY" "DELETION" "REFERENCE" "STORAGE" |
query Parameters
| status | string |
Responses
update
Authorizations:
REGARDS_OAUTH2
path Parameters
| name required | string |
Request Body schema: application/jsonrequired
| defaultValue | object |
| description | string |
| name | string |
| value | object |
Responses
Request samples
- Payload
Content type
application/json
{- "name": "string",
- "description": "string",
- "defaultValue": { },
- "value": { }
}Response samples
- 200
Content type
application/json
[- {
- "resourceAccess": { },
- "fullPath": "string",
- "controllerSimpleName": "string",
- "method": "GET",
- "resourceMappingId": "string",
- "autorizedRoles": [
- {
- "authorizedIpAdresses": [
- "string"
], - "roleName": "string",
- "authority": "string"
}
]
}
]