Retrieve project
client.projects.retrieve(ProjectRetrieveParams { project } params?, RequestOptionsoptions?): Project { config_repo, display_name, object, 3 more }
/v0/projects/{project}
Retrieve a project by name.
Parameters
Returns
Retrieve project
IMPORT STAINLESS FROM '@STAINLESS-API/SDK';
CONST CLIENT = NEW STAINLESS({
APIKEY: 'MY API KEY',
});
CONST PROJECT = AWAIT CLIENT.PROJECTS.RETRIEVE({ PROJECT: 'PROJECT' });
CONSOLE.LOG(PROJECT.CONFIG_REPO);
{
"config_repo": "config_repo",
"display_name": "display_name",
"object": "project",
"org": "org",
"slug": "slug",
"targets": [
"node"
]
}Returns Examples
{
"config_repo": "config_repo",
"display_name": "display_name",
"object": "project",
"org": "org",
"slug": "slug",
"targets": [
"node"
]
}