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

update endpoint from Prove to create #378

Merged
merged 2 commits into from
Apr 16, 2024
Merged

update endpoint from Prove to create #378

merged 2 commits into from
Apr 16, 2024

Conversation

mkhraisha
Copy link
Collaborator

@mkhraisha mkhraisha commented Mar 26, 2024

Updates all references from proving a presentations to become creating a presentations.
Changes endpoint from POST presentations/prove to POST presentations


Preview | Diff

@mkhraisha mkhraisha changed the title update endpoing to use proved update endpoint from Prove to create Mar 26, 2024
@PatStLouis PatStLouis self-requested a review March 26, 2024 20:52
index.html Show resolved Hide resolved
index.html Show resolved Hide resolved
holder.yml Show resolved Hide resolved
Copy link
Contributor

@msporny msporny left a comment

Choose a reason for hiding this comment

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

The group decided to use the controller pattern from the REST API Design Guidelines a while ago (which means the API should be /presentations/create):

https://github.com/w3c-ccg/vc-api/?tab=readme-ov-file#style-versioning-and-contribution

@mkhraisha
Copy link
Collaborator Author

I believe on the call we resolved to not use 'presentations/create' is there anything else I should hange in this PR?

@msporny
Copy link
Contributor

msporny commented Apr 16, 2024

I believe on the call we resolved to not use 'presentations/create' is there anything else I should hange in this PR?

The group discussed this on 2024-04-16 and agreed that it is good to go as-is. Merging now.

@msporny msporny merged commit c9cce19 into main Apr 16, 2024
1 check passed
@msporny msporny deleted the update_prove_to_create branch April 16, 2024 19:10
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.

4 participants