EGI-Federation / EGI-Federation/cloud-info-api

Overview of the available queries

Open
#17 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I would like to discuss the list of available queries and potential modifications.

# VOs

Query 1: Give me the list of all existing VOs
* Done: `https://is.ops.fedcloud.eu/vos/`

Query 2: Given a VO, give me the list of sites supporting it
* Done: `https://is.ops.fedcloud.eu/sites/?vo_name=`
* Note: Should this be `https://is.ops.fedcloud.eu/vo/` instead?

Query 3: Given a VO, give me the VMIs available
* Currently missing

# Sites

Query 4: Give me the list of all existing sites
* Done: `https://is.ops.fedcloud.eu/sites/`

Query 5: Given a site, give me the list of all the supported VOs/project IDs
* Done: `https://is.ops.fedcloud.eu/site/12355G0/projects`
* Note: Should this be done using the `site_name` instead of the `site_id`? e.g. `https://is.ops.fedcloud.eu/site/`

Query 6: Given a site, give me all details about it
* Done: `https://is.ops.fedcloud.eu/site/?site_name=IISAS-FedCloud`
* Duplicated: `https://is.ops.fedcloud.eu/site/12355G0/`
* Note: `` in `https://is.ops.fedcloud.eu/site/?site_name=` must be required and it is optional at the moment, returning a `404` if empty

#

Query 7: Given a , give me all the VMIs available:
* Done: `https://is.ops.fedcloud.eu/site/12355G0/vo.usegalaxy.eu/images`
* Note: In principle I believe the list of available VMIs should be queried at VO-level only; However, it may be nice to have this available as a sanity check.

Query 8: Given a `` give me all the VOs/project IDs
* Done: https://is.ops.fedcloud.eu/site/12355G0/vo.usegalaxy.eu/project
* Note: Is this an interesting query to make?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.