requestAccess
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
accessGroups | Array of strings unique |
email required | string |
firstName | string |
lastName | string |
maxQuota | integer <int64> |
Array of objects (MetaData) | |
origin | string |
originUrl | string |
password | string |
requestLink | string |
roleName | string |
Responses
Request samples
- Payload
Content type
application/json
{- "accessGroups": [
- "string"
], - "email": "string",
- "firstName": "string",
- "lastName": "string",
- "maxQuota": 0,
- "metadata": [
- {
- "id": 0,
- "identifiable": true,
- "key": "string",
- "value": "string",
- "visibility": "READABLE"
}
], - "origin": "string",
- "originUrl": "string",
- "password": "string",
- "requestLink": "string",
- "roleName": "string"
}
requestExternalAccess
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
accessGroups | Array of strings unique |
email required | string |
firstName | string |
lastName | string |
maxQuota | integer <int64> |
Array of objects (MetaData) | |
origin | string |
originUrl | string |
password | string |
requestLink | string |
roleName | string |
Responses
Request samples
- Payload
Content type
application/json
{- "accessGroups": [
- "string"
], - "email": "string",
- "firstName": "string",
- "lastName": "string",
- "maxQuota": 0,
- "metadata": [
- {
- "id": 0,
- "identifiable": true,
- "key": "string",
- "value": "string",
- "visibility": "READABLE"
}
], - "origin": "string",
- "originUrl": "string",
- "password": "string",
- "requestLink": "string",
- "roleName": "string"
}
createNotification
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
level | string Enum: "INFO" "WARNING" "ERROR" "FATAL" |
message | string |
mimeType | string |
projectUserRecipients | Array of strings unique |
roleRecipients | Array of strings unique |
sender | string |
title | string |
Responses
Request samples
- Payload
Content type
application/json
{- "level": "INFO",
- "message": "string",
- "mimeType": "string",
- "projectUserRecipients": [
- "string"
], - "roleRecipients": [
- "string"
], - "sender": "string",
- "title": "string"
}
updateNotificationSettings
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
days | integer <int32> |
frequency | string Enum: "DAILY" "WEEKLY" "MONTHLY" "CUSTOM" |
hours | integer <int32> |
Responses
Request samples
- Payload
Content type
application/json
{- "days": 0,
- "frequency": "DAILY",
- "hours": 0
}
updateResourceAccess
Authorizations:
REGARDS_OAUTH2
path Parameters
resource_id required | integer <int64> |
Request Body schema: application/jsonrequired
controllerSimpleName required | string |
defaultRole required | string Enum: "INSTANCE_ADMIN" "PROJECT_ADMIN" "EXPLOIT" "ADMIN" "REGISTERED_USER" "PUBLIC" |
description | string |
id | integer <int64> |
identifiable | boolean |
microservice required | string |
resource required | string |
verb required | string Enum: "GET" "HEAD" "POST" "PUT" "PATCH" "DELETE" "OPTIONS" "TRACE" |
Responses
Request samples
- Payload
Content type
application/json
{- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
registerMicroserviceEndpoints
Authorizations:
REGARDS_OAUTH2
path Parameters
microservicename required | string |
Request Body schema: application/jsonrequired
Array
Array of objects (RoleAuthority) | |
controllerSimpleName | string |
fullPath | string |
method | string Enum: "GET" "HEAD" "POST" "PUT" "PATCH" "DELETE" "OPTIONS" "TRACE" |
resourceAccess | object (ResourceAccess) |
resourceMappingId | string |
Responses
Request samples
- Payload
Content type
application/json
[- {
- "autorizedRoles": [
- {
- "authority": "string",
- "authorizedIpAdresses": [
- "string"
], - "roleName": "string"
}
], - "controllerSimpleName": "string",
- "fullPath": "string",
- "method": "GET",
- "resourceAccess": { },
- "resourceMappingId": "string"
}
]
createRole
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
authorizedAddresses | Array of strings |
id | integer <int64> |
identifiable | boolean |
isDefault | boolean |
isNative | boolean |
name required | string |
parentRole | object (Role) Recursive |
Array of objects (ResourcesAccess) unique |
Responses
Request samples
- Payload
Content type
application/json
{- "authorizedAddresses": [
- "string"
], - "id": 0,
- "identifiable": true,
- "isDefault": true,
- "isNative": true,
- "name": "string",
- "parentRole": { },
- "permissions": [
- {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
]
}
updateRole
Authorizations:
REGARDS_OAUTH2
path Parameters
role_name required | string |
Request Body schema: application/jsonrequired
authorizedAddresses | Array of strings |
id | integer <int64> |
identifiable | boolean |
isDefault | boolean |
isNative | boolean |
name required | string |
parentRole | object (Role) Recursive |
Array of objects (ResourcesAccess) unique |
Responses
Request samples
- Payload
Content type
application/json
{- "authorizedAddresses": [
- "string"
], - "id": 0,
- "identifiable": true,
- "isDefault": true,
- "isNative": true,
- "name": "string",
- "parentRole": { },
- "permissions": [
- {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
]
}
addRoleResource
Authorizations:
REGARDS_OAUTH2
path Parameters
role_name required | string |
Request Body schema: application/jsonrequired
controllerSimpleName required | string |
defaultRole required | string Enum: "INSTANCE_ADMIN" "PROJECT_ADMIN" "EXPLOIT" "ADMIN" "REGISTERED_USER" "PUBLIC" |
description | string |
id | integer <int64> |
identifiable | boolean |
microservice required | string |
resource required | string |
verb required | string Enum: "GET" "HEAD" "POST" "PUT" "PATCH" "DELETE" "OPTIONS" "TRACE" |
Responses
Request samples
- Payload
Content type
application/json
{- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
getRoleResourcesForMicroservice
Authorizations:
REGARDS_OAUTH2
path Parameters
microservice required | string |
role_name required | string |
Responses
Response samples
- 200
Content type
application/json
[- {
- "content": {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}, - "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
]
}
]
Response samples
- 200
Content type
application/json
[- {
- "autorizedRoles": [
- {
- "authority": "string",
- "authorizedIpAdresses": [
- "string"
], - "roleName": "string"
}
], - "controllerSimpleName": "string",
- "fullPath": "string",
- "method": "GET",
- "resourceAccess": { },
- "resourceMappingId": "string"
}
]
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
{- "defaultValue": { },
- "description": "string",
- "name": "string",
- "value": { }
}
createUser
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
accessGroups | Array of strings unique |
email required | string |
firstName | string |
lastName | string |
maxQuota | integer <int64> |
Array of objects (MetaData) | |
origin | string |
originUrl | string |
password | string |
requestLink | string |
roleName | string |
Responses
Request samples
- Payload
Content type
application/json
{- "accessGroups": [
- "string"
], - "email": "string",
- "firstName": "string",
- "lastName": "string",
- "maxQuota": 0,
- "metadata": [
- {
- "id": 0,
- "identifiable": true,
- "key": "string",
- "value": "string",
- "visibility": "READABLE"
}
], - "origin": "string",
- "originUrl": "string",
- "password": "string",
- "requestLink": "string",
- "roleName": "string"
}
exportAsCSV
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
object (ValuesRestrictionString) Filter on access groups | |
object (DatesRangeRestriction) Filter on last connection date | |
string Filter on user email | |
firstName | string Filter on user firstName |
object (DatesRangeRestriction) Filter on last connection date | |
lastName | string Filter on user lastname |
object (ValuesRestrictionString) Filter on access groups | |
quotaWarningCount | integer <int64> Filter on quota warning count |
object (ValuesRestrictionString) Filter on access groups | |
object (ValuesRestrictionUserStatus) Filter on status |
Responses
Request samples
- Payload
Content type
application/json
{- "accessGroups": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "string"
]
}, - "creationDate": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "email": "string",
- "firstName": "string",
- "lastConnection": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "lastName": "string",
- "origins": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "string"
]
}, - "quotaWarningCount": 0,
- "roles": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "string"
]
}, - "status": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "WAITING_ACCESS"
]
}
}
updateCurrentProjectUser
Authorizations:
REGARDS_OAUTH2
Request Body schema: application/jsonrequired
accessGroups | Array of strings unique |
created | string <date-time> |
currentQuota | integer <int64> |
string | |
firstName | string |
id | integer <int64> |
identifiable | boolean |
lastConnection | string <date-time> |
lastName | string |
lastUpdate | string <date-time> |
licenseAccepted | boolean |
maxQuota | integer <int64> |
Array of objects (MetaData) unique | |
origin required | string |
Array of objects (ResourcesAccess) | |
object (Role) | |
status required | string Enum: "WAITING_ACCESS" "ACCESS_DENIED" "ACCESS_GRANTED" "ACCESS_INACTIVE" "WAITING_ACCOUNT_ACTIVE" "WAITING_EMAIL_VERIFICATION" |
Responses
Request samples
- Payload
Content type
application/json
{- "accessGroups": [
- "string"
], - "created": "2019-08-24T14:15:22Z",
- "currentQuota": 0,
- "email": "string",
- "firstName": "string",
- "id": 0,
- "identifiable": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "lastName": "string",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "licenseAccepted": true,
- "maxQuota": 0,
- "metadata": [
- {
- "id": 0,
- "identifiable": true,
- "key": "string",
- "value": "string",
- "visibility": "READABLE"
}
], - "origin": "string",
- "permissions": [
- {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
], - "role": {
- "authorizedAddresses": [
- "string"
], - "id": 0,
- "identifiable": true,
- "isDefault": true,
- "isNative": true,
- "name": "string",
- "parentRole": { },
- "permissions": [
- {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
]
}, - "status": "WAITING_ACCESS"
}
Get users of the project
Return a page of users of the project matching according criterias.
Authorizations:
REGARDS_OAUTH2
query Parameters
required | object (Pageable) Sorting and page configuration |
Request Body schema: application/jsonrequired
Set of search criterias.
object (ValuesRestrictionString) Filter on access groups | |
object (DatesRangeRestriction) Filter on last connection date | |
string Filter on user email | |
firstName | string Filter on user firstName |
object (DatesRangeRestriction) Filter on last connection date | |
lastName | string Filter on user lastname |
object (ValuesRestrictionString) Filter on access groups | |
quotaWarningCount | integer <int64> Filter on quota warning count |
object (ValuesRestrictionString) Filter on access groups | |
object (ValuesRestrictionUserStatus) Filter on status |
Responses
Request samples
- Payload
Content type
application/json
{- "accessGroups": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "string"
]
}, - "creationDate": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "email": "string",
- "firstName": "string",
- "lastConnection": {
- "after": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}, - "lastName": "string",
- "origins": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "string"
]
}, - "quotaWarningCount": 0,
- "roles": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "string"
]
}, - "status": {
- "ignoreCase": true,
- "matchMode": "STRICT",
- "mode": "INCLUDE",
- "values": [
- "WAITING_ACCESS"
]
}
}
updateProjectUser
Authorizations:
REGARDS_OAUTH2
path Parameters
user_id required | integer <int64> |
Request Body schema: application/jsonrequired
accessGroups | Array of strings unique |
created | string <date-time> |
currentQuota | integer <int64> |
string | |
firstName | string |
id | integer <int64> |
identifiable | boolean |
lastConnection | string <date-time> |
lastName | string |
lastUpdate | string <date-time> |
licenseAccepted | boolean |
maxQuota | integer <int64> |
Array of objects (MetaData) unique | |
origin required | string |
Array of objects (ResourcesAccess) | |
object (Role) | |
status required | string Enum: "WAITING_ACCESS" "ACCESS_DENIED" "ACCESS_GRANTED" "ACCESS_INACTIVE" "WAITING_ACCOUNT_ACTIVE" "WAITING_EMAIL_VERIFICATION" |
Responses
Request samples
- Payload
Content type
application/json
{- "accessGroups": [
- "string"
], - "created": "2019-08-24T14:15:22Z",
- "currentQuota": 0,
- "email": "string",
- "firstName": "string",
- "id": 0,
- "identifiable": true,
- "lastConnection": "2019-08-24T14:15:22Z",
- "lastName": "string",
- "lastUpdate": "2019-08-24T14:15:22Z",
- "licenseAccepted": true,
- "maxQuota": 0,
- "metadata": [
- {
- "id": 0,
- "identifiable": true,
- "key": "string",
- "value": "string",
- "visibility": "READABLE"
}
], - "origin": "string",
- "permissions": [
- {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
], - "role": {
- "authorizedAddresses": [
- "string"
], - "id": 0,
- "identifiable": true,
- "isDefault": true,
- "isNative": true,
- "name": "string",
- "parentRole": { },
- "permissions": [
- {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
]
}, - "status": "WAITING_ACCESS"
}
updateProjectUserResources
Authorizations:
REGARDS_OAUTH2
path Parameters
user_email required | string |
Request Body schema: application/jsonrequired
Array
controllerSimpleName required | string |
defaultRole required | string Enum: "INSTANCE_ADMIN" "PROJECT_ADMIN" "EXPLOIT" "ADMIN" "REGISTERED_USER" "PUBLIC" |
description | string |
id | integer <int64> |
identifiable | boolean |
microservice required | string |
resource required | string |
verb required | string Enum: "GET" "HEAD" "POST" "PUT" "PATCH" "DELETE" "OPTIONS" "TRACE" |
Responses
Request samples
- Payload
Content type
application/json
[- {
- "controllerSimpleName": "string",
- "defaultRole": "INSTANCE_ADMIN",
- "description": "string",
- "id": 0,
- "identifiable": true,
- "microservice": "string",
- "resource": "string",
- "verb": "GET"
}
]
retrieveProjectUserMetaData
Authorizations:
REGARDS_OAUTH2
path Parameters
user_id required | integer <int64> |
Responses
Response samples
- 200
Content type
application/json
[- {
- "content": {
- "id": 0,
- "identifiable": true,
- "key": "string",
- "value": "string",
- "visibility": "READABLE"
}, - "links": [
- {
- "deprecation": "string",
- "href": "string",
- "hreflang": "string",
- "media": "string",
- "name": "string",
- "profile": "string",
- "rel": "string",
- "title": "string",
- "type": "string"
}
]
}
]
updateProjectUserMetaData
Authorizations:
REGARDS_OAUTH2
path Parameters
user_id required | integer <int64> |
Request Body schema: application/jsonrequired
Array
id | integer <int64> |
identifiable | boolean |
key required | string |
value | string |
visibility | string Enum: "READABLE" "WRITEABLE" "HIDDEN" |
Responses
Request samples
- Payload
Content type
application/json
[- {
- "id": 0,
- "identifiable": true,
- "key": "string",
- "value": "string",
- "visibility": "READABLE"
}
]