kythene.v1.KytheneService

ListShareCodes

ListShareCodes lists share codes for one tag, or every share code in the space when no tag is given. Revoked codes are included (flagged revoked).

post/kythene.v1.KytheneService/ListShareCodes

Request

  • Base URL: https://kythene.com (the document declares no server; this is the origin it was published from)
  • URL: https://kythene.com/kythene.v1.KytheneService/ListShareCodes
  • Auth: none required

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

tagstring

tag optionally narrows to one tag's codes (an id or a name). Omit to list every share code in the space. Revoked codes are included.

spacestring

space optionally selects which of your spaces to act in (an id or name from list_spaces). Omit it when you belong to a single space.

Response

Success

Example response

{
  "shareCodes": [
    {
      "createdAt": "2023-01-15T01:30:15.01Z",
      "expiresAt": "2023-01-15T01:30:15.01Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.