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

Standardize URL queries: use same URL components for querying by 'not accomplished step' and writing back 'accomplished step' #141

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

callunity
Copy link
Collaborator

  • Includes a change file
  • Updates developer documentation

… accomplished step' and writing back 'accomplished step'
@@ -427,7 +427,7 @@
}
}
},
"/case/{caseIdentifier}/files-loaded-into-vidarr-archival": {
"/case/{caseIdentifier}/sent-to-vidarr-archival": {
Copy link
Contributor

Choose a reason for hiding this comment

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

The URL now says 'sent to' vidarr archival, but the description says they were loaded. Is it possible to send to vidarr archival then have the loading process fail? What would be returned in that case?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There's no Nabu code that talks to Vidarr, so it's the responsibility of the client/calling script to check that the /load request was successful before writing back to this Nabu endpoint. Here's the current script that writes back to this endpoint after copying files and then loading metadata to vidarr-archival.

@callunity callunity merged commit 07a398b into master Oct 23, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants