get__workspace_{workspaceId}
TypeScript Client Library
public getWorkspace = async (id: string): Promise<WorkspaceTypes.GetWorkspaceResponse> => {
return this.makeRequest<WorkspaceTypes.GetWorkspaceResponse>(`workspace/${id}`, 'GET', null);
};Code Samples
# You can also use wget
curl -X GET https://backend.flashback.tech/workspace/123e4567-e89b-12d3-a456-426614174000 \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'GET https://backend.flashback.tech/workspace/123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: backend.flashback.tech
Accept: application/json
Authorization: Bearer {access-token}const workspaceId = '123e4567-e89b-12d3-a456-426614174000';
const headers = {
'Accept':'application/json',
'Authorization':'Bearer {access-token}'
};
fetch(`https://backend.flashback.tech/workspace/${workspaceId}`,
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});Parameters
Name
In
Type
Required
Description
Path Parameters
Name
Type
Required
Restrictions
Description
Responses
Status
Meaning
Description
Schema
Response Schema
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Name
Type
Required
Restrictions
Description
Notes
Last updated
Was this helpful?