Skip to content

DRS API - Document ID Checksum Validation and Lookup #25409

Closed

Description

@arlentees
  • Take the algorithm from MHR and provide similar validation in DRS
  • Check for existing records
  • Update the spec
  • Update the API DRS search response to add a document exists indicator if the documentURL property is not present.

Spec GET /doc/api/v1/documents/verify/{consumerDocumentId} endpoint updated:
https://okagqp-test-bcregrestricted.apigee.io/docs/docserviceproxy/1/overview

Activity

  1. changed the title [-]API - DRS Document ID Checksum Validation and Lookup[/-] [+]DRS API - Document ID Checksum Validation and Lookup[/+] on Jan 22, 2025
  2. self-assigned this
    on Jan 23, 2025
  3. doug-lovett commented on Jan 24, 2025

    @doug-lovett
    Collaborator

    Verified in DEV:
    Valid new doc id 404 not found response:
    GET https://bcregistry-dev.apigee.net/doc/api/v1/documents/verify/63782173
    Invalid new doc id checsum failed 400 bad request response:
    GET https://bcregistry-dev.apigee.net/doc/api/v1/documents/verify/63782172
    Doc id exists 200 response with data:
    GET https://bcregistry-dev.apigee.net/doc/api/v1/documents/verify/83222224

  4. chdivyareddy commented on Jan 29, 2025

    @chdivyareddy
    Collaborator

    Verified in DEV using Postman.

    image.png

    image.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions