oarepo-tokens
OARepo library generating tokens for upload from command-line utility oarepo-s3-cli
Installation
TBD
Configuration
TBD
API
-
POST /access-tokens/status
Returns status of token sent in auth.header.
-
POST /access-tokens/revoke
Revoke token sent in auth.header.
-
POST /<DRAFT_RECORD_PATH>/create_token
Create new token for upload file to draft record.
-
GET /<DRAFT_RECORD_PATH>/access-tokens
List tokens created for uploading to draft record.
-
DELETE /<DRAFT_RECORD_PATH>/access-tokens/<TOKEN_ID>
Revoke token by token_id.