Skip to content
New issue

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

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

Already on GitHub? # to your account

[API] Sites endpoint #7771

Merged
merged 11 commits into from
Mar 28, 2023
Merged

Conversation

xlecours
Copy link
Contributor

@xlecours xlecours commented Nov 3, 2021

API 0.0.4 dev
Returns the list of sites for an /api/v0.0.0.4-dev/sites GET request.

This is a rebased version of #7466

@xlecours xlecours mentioned this pull request Nov 3, 2021
@xlecours xlecours changed the title Address comments [API] Sites endpoint Nov 3, 2021
Copy link
Contributor

@christinerogers christinerogers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Xavier, I've reviewed the alias/mri_alias part and committed my suggested changes -- thanks.
Any other parts of this PR I should look at in particular?

modules/api/docs/LorisRESTAPI_v0.0.4-dev.md Outdated Show resolved Hide resolved
modules/api/docs/LorisRESTAPI_v0.0.4-dev.md Outdated Show resolved Hide resolved
@xlecours
Copy link
Contributor Author

xlecours commented Nov 4, 2021

@christinerogers Thanks for the corrections. Since you mentioned that some clients required this endpoint, can you tell if the current response structure and content is satisfying?

@christinerogers
Copy link
Contributor

christinerogers commented Nov 9, 2021

@christinerogers Thanks for the corrections. Since you mentioned that some clients required this endpoint, can you tell if the current response structure and content is satisfying?

Hi Xavier, thanks - given the Sites call returns the same info/response structure, I give my 👍 - the wizard expects a structure w Name field where it's used, if I read it right.
cc @jesscall and @maltheism in case she can take a look.

@maltheism maltheism added the Needs Rebase PR contains conflicts with the current target branch or was issued to the wrong branch label Oct 31, 2022
Copy link
Member

@maltheism maltheism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflict with Changelog

@laemtl laemtl added this to the 25.0.0 milestone Feb 28, 2023
@laemtl laemtl added the Critical to release PR or issue is key for the release to which it has been assigned label Mar 14, 2023
@laemtl
Copy link
Contributor

laemtl commented Mar 14, 2023

@xlecours I need that feature for the Wizard. Any chance that can be part of the next release? Let me know if I can help.

@xlecours xlecours force-pushed the 2021-06-07-api-sites-endpoint branch from 05fd582 to f2bff56 Compare March 21, 2023 14:42
@xlecours xlecours added Feature PR or issue introducing/requiring at least one new feature Documentation PR or issue introducing/requiring modifications to the code documentation (test plans, wikis, docs) and removed Needs Rebase PR contains conflicts with the current target branch or was issued to the wrong branch labels Mar 21, 2023
@ridz1208 ridz1208 assigned christinerogers and unassigned xlecours Mar 21, 2023
GET /sites
```

Will return a list of sites in this Loris instance. There is no corresponding PUT or PATCH
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended to be all sites in the LORIS instance or all sites to which the current user has access?

@driusan driusan merged commit 0048ec7 into aces:main Mar 28, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Critical to release PR or issue is key for the release to which it has been assigned Documentation PR or issue introducing/requiring modifications to the code documentation (test plans, wikis, docs) Feature PR or issue introducing/requiring at least one new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants