kythene.v1.KytheneService

ResolveProject

ResolveProject maps a working directory to the Kythene project(s) it belongs to, so a session brief has something to brief about without a human naming the project.

post/kythene.v1.KytheneService/ResolveProject

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

markerstring

marker is the verbatim contents of a .kythene file at the working directory root, if the client found one. It names the workspace and project explicitly and is authoritative. Format: key: value lines, keys workspace and project (workspace optional; an id or name).

gitRemotestring

git_remote is the origin remote URL of the repo, if any - e.g. https://github.com/acme/widgets or git@host:acme/widgets.git. The owner/repo and repo name are matched against project names.

dirstring

dir is the working directory's basename - the weakest signal, used only when the marker and remote produce nothing.

Response

Success

Changes

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