org.tangled.secret.addSecret

Add a CI secret

Repository @tangled.org did:plc:wshs7t2adsemcrrd4snkeqli namespace authority
Details · procedure
Kindprocedure
Authoritysecret.tangled.org
Indexed

Showing version bafyreidz3rdulqtm7xxlq35icnwe7ine342qgem46cai2gsllygiqmof3m. Show the latest

cid bafyreidz3rdulqtm7xxlq35icnwe7ine342qgem46cai2gsllygiqmof3m

Checks

Valid
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Add a CI secret",
      "errors": [
        {
          "description": "Invalid request parameters",
          "name": "InvalidRequest"
        },
        {
          "description": "Repository not found",
          "name": "RepoNotFound"
        },
        {
          "description": "A secret with this key already exists.",
          "name": "SecretAlreadyExists"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "key": {
              "maxLength": 50,
              "minLength": 1,
              "type": "string"
            },
            "repo": {
              "format": "did",
              "type": "string"
            },
            "value": {
              "maxLength": 4096,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "repo",
            "key",
            "value"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "org.tangled.secret.addSecret",
  "lexicon": 1
}