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

bulk validation etc #114

Closed
sharlagelfand opened this issue Dec 12, 2024 · 1 comment
Closed

bulk validation etc #114

sharlagelfand opened this issue Dec 12, 2024 · 1 comment

Comments

@sharlagelfand
Copy link
Collaborator

sharlagelfand commented Dec 12, 2024

  • https://api.datamermaid.org/v1/projects/<project_id>/collectrecords/ [GET] -- get a list of CRs for a project. Each CR contains a validations object, which has a status property as you saw that can be used to provide summary feedback.
  • https://api.datamermaid.org/v1/projects/<project_id>/collectrecords/validate/ [POST] -- submit a list of CRs for validation. Payload is like:
    {
    "ids":["17f8dae9-7f2d-41e1-a093-d7dd5307534b"]
    }
    As you can see, this supports multiple CRs; but I suggest that we keep it to one per call for now.
  • https://api.datamermaid.org/v1/projects/<project_id>/collectrecords/submit/ [POST] -- attempt to submit a list of CRs, with the same payload structure. Same instinct here on submitting one at a time for now.
@sharlagelfand
Copy link
Collaborator Author

Closed in #119

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

1 participant