kythene.v1.KytheneService

GetArtifact

GetArtifact returns artifact metadata, its version history, and optionally the content bytes of one version.

post/kythene.v1.KytheneService/GetArtifact

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/GetArtifact
  • 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

idstring

id is the artifact's id (from a collection's artifact list).

includeContentboolean

include_content adds the content bytes of one version to the response.

versioninteger

version selects which version's content to include; 0 = latest.

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

contentstring byte
contentMimestring
contentVersioninteger
approvedBystring[]

Approval state at the current version (feedback pins to artifact_version; a new version clears it). Labels of who currently approves / rejects.

rejectedBystring[]
staleReviewsinteger

Example response

{
  "artifact": {
    "createdAt": "2023-01-15T01:30:15.01Z",
    "updatedAt": "2023-01-15T01:30:15.01Z"
  },
  "versions": [
    {
      "createdAt": "2023-01-15T01:30:15.01Z"
    }
  ]
}

Changes

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