project

Return specific project detail information

This endpoint returns specific project information by project ID.

get/projects/{project_name_or_id}

Path parameters

project_name_or_idstring required

The name or id of the project

Headers

X-Request-Idstring

An unique ID for the request

X-Is-Resource-Nameboolean

The flag to indicate whether the parameter which supports both name and id in the path is the name of the resource. When the X-Is-Resource-Name is false and the parameter can be converted to an integer, the parameter will be as an id, otherwise, it will be as a name.

Response

Return matched project information.

project_idinteger

Project ID

owner_idinteger

The owner ID of the project always means the creator of the project.

namestring

The name of the project.

registry_idinteger

The ID of referenced registry when the project is a proxy cache project.

creation_timestring date-time

The creation time of the project.

update_timestring date-time

The update time of the project.

deletedboolean

A deletion mark of the project.

owner_namestring

The owner name of the project.

togglableboolean

Correspond to the UI about whether the project's publicity is updatable (for UI)

current_user_role_idinteger

The role ID with highest permission of the current user who triggered the API (for UI). This attribute is deprecated and will be removed in future versions.

current_user_role_idsinteger[]

The list of role ID of the current user who triggered the API (for UI)

repo_countinteger

The number of the repositories under this project.

Changes

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