Skip to content

Create an POST API endpoint to set data in the json_context table. #806

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

Closed
chuang-CE opened this issue May 9, 2025 · 0 comments
Closed
Assignees

Comments

@chuang-CE
Copy link
Collaborator

There needs to be a new API endpoint that allows callers to upload a json_context object in the json_context table. The API should take a URL and a json blob necessary that are necessary to create a json_context object. This API should only be called by a System Admin, and only once during initial setup of the Registry. Make sure to include this endpoint in Swagger. We need this endpoint so we reduce the security risk of having to access URLs outside of a contained environment.

excelsior added a commit that referenced this issue May 14, 2025
* (#808) Group Swagger endpoints into sections

* (#806) Add APIs for uploading and retrieving JSON contexts
excelsior added a commit that referenced this issue May 15, 2025
* (#806) Add API for uploading JSON contexts

* Indexed resources API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants