rename_issue_space #

View this page as Markdown

Generated automatically from the published contract sources.

A script calls this action over HTTPS at POST https://turnzero.ai/api/v1/actions/rename_issue_space, with a bearer credential and the action's payload as the JSON body.

Build metadata: Registered in this build. Registration describes the default dispatcher in this build. It does not guarantee that a caller has the required credential or grant, that a tool is listed for that connection, or that the required service is configured.

Contract description #

Rename an issue space your account owns: pass space and the new name, up to 100 characters. The listing then shows the new name, and a space with no name takes one. If the call fails, nothing changes, and a repeat is safe. A space you do not own, one shared with you among them, is refused space_not_owned. Your account needs tzTrack, which every account has.

Access and action metadata #

{
  "name": "rename_issue_space",
  "resource": "account",
  "tier": "reversible",
  "product": "tztrack",
  "admits": [
    "tztrack",
    "device_sign_in"
  ],
  "summary": "Rename one issue space of the account's own: `space` picks the space, and `name` is its new display name, 1 to 100 printable characters, refused `invalid_request` outside that. The issue service takes the name first, then the platform's own record of it, so `list_issue_spaces` shows it; a space with no name takes one. A failed call of the service changes nothing and is refused `issue_service_unreachable`, and a repeat is safe. Only the account that owns the space renames it: a space the account does not own, one shared with it among them, is refused `space_not_owned`, and an application's own space or the platform's own space `invalid_request`. A tzTrack token reaches it where your tool's sign-in issued it; one `mint_token` minted is refused `tztrack_bounded`. The account must hold tzTrack, refused `blueprint_required` ahead of the request's form. Bounded per account per minute, refused `feedback_rate_limited`. The answer carries the space's identifier, its kind, and its name. Registered while the issue service's origin is configured.",
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": false,
    "openWorldHint": false,
    "idempotentHint": true
  }
}

MCP catalog entry #

{
  "name": "rename_issue_space",
  "title": "Rename issue space",
  "tier": "reversible",
  "scenario": "API-L0-20",
  "summary": "Rename an issue space your account owns: pass `space` and the new `name`, up to 100 characters. The listing then shows the new name, and a space with no name takes one. If the call fails, nothing changes, and a repeat is safe. A space you do not own, one shared with you among them, is refused `space_not_owned`. Your account needs tzTrack, which every account has.",
  "owners": [
    "ITS-L0-01",
    "MAPI-18"
  ]
}

request #

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["space","name"]
Additional properties: false
/properties/space The space to rename, a lower-case UUID of a space your account owns, as list_issue_spaces lists it with the kind account.

Type: string
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
/properties/name The space's new display name, 1 to 100 printable characters, which the space listing shows in place of the one it has, or as its first where it has none.

Type: string
Minimum length: 1
Maximum length: 100

response #

JSON pointer Description and constraints
"" (root) Type: object
Required fields: ["contract_version","space"]
/properties/contract_version Required value: 1
/properties/reference The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call's record row. Quote it when you report the call.

Type: string
Pattern: ^[0-9a-f]{10}$
/properties/space Type: object
Required fields: ["id","kind","name"]
/properties/space/properties/id Type: string
/properties/space/properties/kind Type: string
Allowed values: ["account"]
/properties/space/properties/name The space's display name after the call, the name given.

Type: string

Complete payload contract #

{
  "request": {
    "type": "object",
    "required": [
      "space",
      "name"
    ],
    "properties": {
      "space": {
        "type": "string",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "description": "The space to rename, a lower-case UUID of a space your account owns, as `list_issue_spaces` lists it with the kind `account`."
      },
      "name": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "description": "The space's new display name, 1 to 100 printable characters, which the space listing shows in place of the one it has, or as its first where it has none."
      }
    },
    "additionalProperties": false
  },
  "response": {
    "type": "object",
    "required": [
      "contract_version",
      "space"
    ],
    "properties": {
      "contract_version": {
        "const": 1
      },
      "reference": {
        "type": "string",
        "pattern": "^[0-9a-f]{10}$",
        "description": "The short reference the platform recorded your call under: ten lowercase hexadecimal characters, the value in the call's record row. Quote it when you report the call."
      },
      "space": {
        "type": "object",
        "required": [
          "id",
          "kind",
          "name"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string",
            "enum": [
              "account"
            ]
          },
          "name": {
            "type": "string",
            "description": "The space's display name after the call, the name given."
          }
        }
      }
    }
  }
}

Shared contracts #