kythene.v1.KytheneService

ReorderArtifacts

ReorderArtifacts rewrites the order of a collection's members from a full ordered list of its artifact ids (every current member, once), bumping the revision. Comments and block reviews stay attached to their artifacts.

post/kythene.v1.KytheneService/ReorderArtifacts

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

collectionIdstring

collection_id is the collection to reorder.

artifactIdsstring[]

artifact_ids is the FULL ordered member set - every current member, once, in the desired order. A partial or stranger-bearing list is rejected.

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

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

Changes

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