no10ds / rapid

Project rAPId
https://rapid.readthedocs.io/en/latest/
MIT License
23 stars 6 forks source link

Feature/sdk additional functions #73

Closed Jarek-Rolski closed 6 months ago

Jarek-Rolski commented 8 months ago

I added several functions to rAPId SDK and created relevant test function:

  1. create_user
  2. delete_user
  3. list_subjects
  4. list_layers
  5. list_protected_domains
  6. delete_dataset

I compiled and tested sdk package locally. I didn't find any issues.

Jarek-Rolski commented 8 months ago

Now functions I added handle all errors I was able to notice. However, there are some issues with errors/codes returned by API. in remove_dataset - function returns status code 202 when dataset doesn't exists, but layer is correct in create_user - function returns status code 400 for two types of error