Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get projects endpoint #10

Closed
soimugeoWB opened this issue Nov 18, 2024 · 0 comments · Fixed by #13 or protegeproject/webprotege-backend-service#58
Closed

get projects endpoint #10

soimugeoWB opened this issue Nov 18, 2024 · 0 comments · Fixed by #13 or protegeproject/webprotege-backend-service#58

Comments

@soimugeoWB
Copy link
Collaborator

Get projects
This endpoint will return a list of available projects with their metadata (id, title, description) for the requestor. The list may be constrained by access policies, i.e., a user may have read access only to certain projects.

/icat/getProjects

This should support only GET.

Suggestion for returned JSON:

{
"projects": [
{
"id": "8cc2df91-d42f-441e-b586-0d502af60193",
"title": "WHOFIC Foundation v3.1",
"description": "This is the WHOFIC Foundation as of May 30, 2024 and it is used for testing."
},
{
"id": "61f24481-8df3-4591-8a9c-a49702a33a21",
"title": "ICD Parasitic + ICF Mental + ICHI Target Mental v3",
"description": "This is the parasitic ICD + mental ICF + mental target ICHI + label = annotation property."
}
]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant