{ "opencollection": "1.0.0", "info": { "name": "Didomi consents/events secrets API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "secrets", "type": "folder" }, "items": [ { "info": { "name": "Retrieve a list of secrets", "type": "http" }, "http": { "method": "GET", "url": "https://api.didomi.io/v1/secrets", "params": [ { "name": "$limit", "value": "", "type": "query", "description": "Number of results to return" }, { "name": "$skip", "value": "", "type": "query", "description": "Number of results to skip" }, { "name": "$sort", "value": "", "type": "query", "description": "Property to sort results" }, { "name": "filter", "value": "", "type": "query", "description": "Query parameters to filter" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a list of all the secrets the user has access to" }, { "info": { "name": "Create a secret", "type": "http" }, "http": { "method": "POST", "url": "https://api.didomi.io/v1/secrets", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new secret" }, { "info": { "name": "Retrieve a secret", "type": "http" }, "http": { "method": "GET", "url": "https://api.didomi.io/v1/secrets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the secret to retrieve" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Returns a single secret with the given ID" }, { "info": { "name": "Update a secret", "type": "http" }, "http": { "method": "PUT", "url": "https://api.didomi.io/v1/secrets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the secret to update" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update an existing secret" }, { "info": { "name": "Patch a secret", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.didomi.io/v1/secrets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the secret to patch" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Partially update a secret" }, { "info": { "name": "Delete a secret", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.didomi.io/v1/secrets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the secret to delete" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete an existing secret. Secrets are unrecoverable after being deleted so make sure that they are not in-use before deleting them." } ] } ], "bundled": true }