Skip to content

Implement Get Documents API #8

Description

@Shruti3004

Description

Implement the Get Documents API for the Digilocker-SDK project. The Get Documents API should retrieve the user's documents from the Digilocker platform.

Goals

  • Implement the Get Documents API to retrieve the user's documents.
  • Map the retrieved documents to the appropriate data structure in the Digilocker-SDK

Expected Outcome

Upon successful implementation, users should be able to retrieve their documents from the Digilocker platform using the Get Documents API.

Format

[
    {
        "name": "Aadhaar Card",
        "uri": "in.gov.uidai-ADHAR-gsdjfhgruy6876634287",
        "doctype": "ADHAR",
        "issuerid": "in.gov.uidai",
        "imported": false
    },
    {
        "name": "Class X Marksheet",
        "uri": "in.gov.cbse-SSCER-63872869379",
        "doctype": "SSCER",
        "issuerid": "in.gov.cbse",
        "imported": false
    },
    {
        "name": "Class XII Marksheet",
        "uri": "in.gov.cbse-HSCER-387724983",
        "doctype": "HSCER",
        "issuerid": "in.gov.cbse",
        "imported": false
    }
]

Acceptance Criteria

  • The Get Documents API retrieves the user's documents from the Digilocker platform.
  • The retrieved documents are mapped to the appropriate data structure defined in the Digilocker-SDK.

Implementation Details

The Get Documents API should be implemented on the backend using [programming language/framework]. It should interact with the Digilocker API to fetch the user's documents and transform them into the appropriate data structure in the Digilocker-SDK.

Mockups / Wireframes

N/A

Project

Digilocker-SDK

Domain

Social Welfare

Tech Skills Needed:

Typescript

Mentor(s)

@Shruti3004 @tushar5526

Complexity

Medium

Category

Feature

Sub Category

API, Backend

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions