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

INNOVERY FIX - Update the V8 Api to allow for upload of DocumentRevisions of documents similar to notes #457

Open
wants to merge 2 commits into
base: hotfix
Choose a base branch
from

Conversation

vercinbleach
Copy link

Description

Makes changes to the API to allow for similar functionality from notes to be used within DocumentRevisions.

Based on the changes from this pull
#8910

Motivation and Context

At Innovery, we've faced recurring challenges with the set_document_revision SOAP v4 endpoint, which isn't operating as expected within our installation. This pull request addresses the incomplete DocumentRevision endpoint on the V8 JSON API, providing a resolution. With this update, you can seamlessly transition from using the set_document_revision from API v4_1 to this solution in JSON V8.

How To Test This

Using postman or any client attempt to post the following:
Disclaimer: Use a document_id of an existing document

{
  "data": {
    "type": "DocumentRevision",
    "attributes": {
      "document_id": "1296d27b-8b58-f1a9-e43e-46f281d3dd4a",
      "change_log": "Document Created test",
      "filename": "test.txt",
      "revision": "2",
      "filecontents": "dGVzdA=="
    }
  }
}

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • My code follows the code style of this project found here.
  • My change requires a change to the documentation.
  • I have read the How to Contribute guidelines.

@SuiteBot
Copy link

SuiteBot commented Apr 3, 2024

CLA assistant check
All committers have signed the CLA.

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.

2 participants