{ "opencollection": "1.0.0", "info": { "name": "GitHub Actions Artifacts Secrets API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Secrets", "type": "folder" }, "items": [ { "info": { "name": "Github Actions List Repository Secrets", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/repos/:owner/:repo/actions/secrets", "params": [ { "name": "owner", "value": "", "type": "path", "description": "The account owner of the repository." }, { "name": "repo", "value": "", "type": "path", "description": "The name of the repository without the .git extension." }, { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page (max 100)." }, { "name": "page", "value": "", "type": "query", "description": "The page number of the results to fetch." } ] }, "docs": "Lists all secrets available in a repository without revealing their encrypted values." }, { "info": { "name": "Github Actions Get a Repository Public Key", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/repos/:owner/:repo/actions/secrets/public-key", "params": [ { "name": "owner", "value": "", "type": "path", "description": "The account owner of the repository." }, { "name": "repo", "value": "", "type": "path", "description": "The name of the repository without the .git extension." } ] }, "docs": "Gets your public key, which you need to encrypt secrets." }, { "info": { "name": "Github Actions Get a Repository Secret", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/repos/:owner/:repo/actions/secrets/:secret_name", "params": [ { "name": "owner", "value": "", "type": "path", "description": "The account owner of the repository." }, { "name": "repo", "value": "", "type": "path", "description": "The name of the repository without the .git extension." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." } ] }, "docs": "Gets a single repository secret without revealing its encrypted value." }, { "info": { "name": "Github Actions Create or Update a Repository Secret", "type": "http" }, "http": { "method": "PUT", "url": "https://api.github.com/repos/:owner/:repo/actions/secrets/:secret_name", "params": [ { "name": "owner", "value": "", "type": "path", "description": "The account owner of the repository." }, { "name": "repo", "value": "", "type": "path", "description": "The name of the repository without the .git extension." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates a repository secret with an encrypted value." }, { "info": { "name": "Github Actions Delete a Repository Secret", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.github.com/repos/:owner/:repo/actions/secrets/:secret_name", "params": [ { "name": "owner", "value": "", "type": "path", "description": "The account owner of the repository." }, { "name": "repo", "value": "", "type": "path", "description": "The name of the repository without the .git extension." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." } ] }, "docs": "Deletes a secret in a repository using the secret name." }, { "info": { "name": "Github Actions List Repository Organization Secrets", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/repos/:owner/:repo/actions/organization-secrets", "params": [ { "name": "owner", "value": "", "type": "path", "description": "The account owner of the repository." }, { "name": "repo", "value": "", "type": "path", "description": "The name of the repository without the .git extension." }, { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page (max 100)." }, { "name": "page", "value": "", "type": "query", "description": "The page number of the results to fetch." } ] }, "docs": "Lists all organization secrets shared with a repository without revealing their encrypted values." }, { "info": { "name": "Github Actions List Organization Secrets", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/orgs/:org/actions/secrets", "params": [ { "name": "org", "value": "", "type": "path", "description": "The organization name." }, { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page (max 100)." }, { "name": "page", "value": "", "type": "query", "description": "The page number of the results to fetch." } ] }, "docs": "Lists all secrets available in an organization without revealing their encrypted values." }, { "info": { "name": "Github Actions Get an Organization Public Key", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/orgs/:org/actions/secrets/public-key", "params": [ { "name": "org", "value": "", "type": "path", "description": "The organization name." } ] }, "docs": "Gets your public key, which you need to encrypt secrets." }, { "info": { "name": "Github Actions Get an Organization Secret", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/orgs/:org/actions/secrets/:secret_name", "params": [ { "name": "org", "value": "", "type": "path", "description": "The organization name." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." } ] }, "docs": "Gets a single organization secret without revealing its encrypted value." }, { "info": { "name": "Github Actions Create or Update an Organization Secret", "type": "http" }, "http": { "method": "PUT", "url": "https://api.github.com/orgs/:org/actions/secrets/:secret_name", "params": [ { "name": "org", "value": "", "type": "path", "description": "The organization name." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates or updates an organization secret with an encrypted value." }, { "info": { "name": "Github Actions Delete an Organization Secret", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.github.com/orgs/:org/actions/secrets/:secret_name", "params": [ { "name": "org", "value": "", "type": "path", "description": "The organization name." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." } ] }, "docs": "Deletes a secret in an organization using the secret name." }, { "info": { "name": "Github Actions List Selected Repositories for an Organization Secret", "type": "http" }, "http": { "method": "GET", "url": "https://api.github.com/orgs/:org/actions/secrets/:secret_name/repositories", "params": [ { "name": "org", "value": "", "type": "path", "description": "The organization name." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." }, { "name": "page", "value": "", "type": "query", "description": "The page number of the results to fetch." }, { "name": "per_page", "value": "", "type": "query", "description": "The number of results per page (max 100)." } ] }, "docs": "Lists all repositories that have been selected when the visibility for repository access to a secret is set to selected." }, { "info": { "name": "Github Actions Set Selected Repositories for an Organization Secret", "type": "http" }, "http": { "method": "PUT", "url": "https://api.github.com/orgs/:org/actions/secrets/:secret_name/repositories", "params": [ { "name": "org", "value": "", "type": "path", "description": "The organization name." }, { "name": "secret_name", "value": "", "type": "path", "description": "The name of the secret." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces all repositories for an organization secret when the visibility for repository access is set to selected." } ] } ], "bundled": true }