{ "opencollection": "1.0.0", "info": { "name": "Microcks API v1.14 config API", "version": "1.14.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "config", "type": "folder" }, "items": [ { "info": { "name": "Get Secrets", "type": "http" }, "http": { "method": "GET", "url": "http://microcks.example.com/api/secrets", "params": [ { "name": "page", "value": "", "type": "query", "description": "Page of Secrets to retrieve (starts at and defaults to 0)" }, { "name": "size", "value": "", "type": "query", "description": "Size of a page. Maximum number of Secrets to include in a response (defaults to 20)" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get Secrets" }, { "info": { "name": "Create a new Secret", "type": "http" }, "http": { "method": "POST", "url": "http://microcks.example.com/api/secrets", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a new Secret" }, { "info": { "name": "Get Secret", "type": "http" }, "http": { "method": "GET", "url": "http://microcks.example.com/api/secrets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier of Secret to manage" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieve a Secret" }, { "info": { "name": "Update Secret", "type": "http" }, "http": { "method": "PUT", "url": "http://microcks.example.com/api/secrets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier of Secret to manage" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update a Secret" }, { "info": { "name": "Delete Secret", "type": "http" }, "http": { "method": "DELETE", "url": "http://microcks.example.com/api/secrets/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "Unique identifier of Secret to manage" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a Secret" }, { "info": { "name": "Get the Secrets counter", "type": "http" }, "http": { "method": "GET", "url": "http://microcks.example.com/api/secrets/count", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get the Secrets counter" }, { "info": { "name": "Get authentification configuration", "type": "http" }, "http": { "method": "GET", "url": "http://microcks.example.com/api/keycloak/config" }, "docs": "Get authentification configuration" }, { "info": { "name": "Get features configuration", "type": "http" }, "http": { "method": "GET", "url": "http://microcks.example.com/api/features/config" }, "docs": "Get features configuration" }, { "info": { "name": "Search for Secrets", "type": "http" }, "http": { "method": "GET", "url": "http://microcks.example.com/api/secrets/search", "params": [ { "name": "name", "value": "", "type": "query", "description": "Search using this name-like criterion" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://keycloak.example.com/realms/microcks/protocol/openid-connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Search for Secrets" } ] } ], "bundled": true }