Browse API

Read a project

Resolve a permanent project key and viewer permissions.

GET/api/v0/projects/<key>

Request

GET https://repopack.com/api/v0/projects/<key>
Authorization: Bearer <token>

<key> is the project's permanent key, not the editable display name or legacy short ID. An account token is required. Only a viewer with project.read receives the project; a missing, inactive, or non-readable project returns 404 Not found without revealing its existence. A missing or invalid token returns 401 Unauthorized; a matching expired token receives the JSON expiry response described in API credentials.

Response

On success the JSON object contains project, acl, and git_remote. project.key is the stable URL identity; project.name is display text. project.group describes a viewer filing group when present. A temporary compatibility field project.short_name repeats the key; new clients should use key. acl describes the current viewer's permissions, not a blanket permission to act later. git_remote is the checkout's Git remote. Read it as a snapshot: access is checked again on subsequent requests.

curl --fail-with-body -H 'Authorization: Bearer <token>' \
  'https://repopack.com/api/v0/projects/<key>'

Replace the placeholders locally; never paste a real bearer token into a task message. To search this project's visible work, use task search. Project creation and deletion are separate guarded contracts, not implied by read permission.