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

refactor: APIs response refactor #230

Closed
35 of 42 tasks
KulkarniShashank opened this issue Nov 6, 2023 · 2 comments · Fixed by #324, #328, #330, #331 or #345
Closed
35 of 42 tasks

refactor: APIs response refactor #230

KulkarniShashank opened this issue Nov 6, 2023 · 2 comments · Fixed by #324, #328, #330, #331 or #345
Assignees

Comments

@KulkarniShashank
Copy link
Contributor

KulkarniShashank commented Nov 6, 2023

Refactor the responses of APIs to avoid displaying unnecessary or confidential data to the user.
Replace the return type of object to adequately curated interfaces.

API Checklist:

  • Change Promise to a proper interface.
  • Response refactor.
  • Validation on Payload.
  • Error Response.
  • End-to-end testing.
  • APIs to refactor:

    • Get organization by Id
    • Get organizations
    • Get public Organizations
    • Get Public Profile of an Organization
    • Get Organization Recieved Invitations
    • Get Organization Roles
    • Get Organization Dashboard
    • Get Organization Profile
    • Get Org Invitations Pagination
    • Get Invitations By OrgId
    • Fetch Ecosystem Details
    • Fetch Ecosystem Org
    • Get Ecosystem Lead Details / Endorsement Requests
    • Create Ecosystem
    • Edit Ecosystem
    • Get all Ecosystems
    • Get Ecosystem Dashboard Details
    • Get Ecosystem Invitations
    • Fetch Ecosystem Members
    • Get invitations by orgId
    • Get endorsement Transactions
    • Get all Ecosystem Schemas
    • Delete Ecosystem Invitations
    • Schema Endorsement Request
    • Cred-Def Endorsement Request
    • Sign Endorsement Transaction
    • Submit Endorsement Transaction
    • Auto-Endorsement Transaction
    • Decline Endorsement Transaction
    • Get User Profile
    • Get User Public Profile
    • Update User Profile
    • Get User by Supabase ID
    • Get User by mail
    • Get User Credentials by ID
    • Fetch User Invitation
    • Find Org Users
    • Fetch Users
    • Check if Users exist
    • Add User
    • Get User Activity
    • Fetch Platform Settings

    Document Link: https://docs.google.com/document/d/16hoaK7tJDuXHtKmi9QkJJqbXXll8FLAgJ1Bx9QHDjqg/edit

@vivekayanworks vivekayanworks changed the title API's response refactor APIs response refactor Nov 7, 2023
@nishad-ayanworks nishad-ayanworks self-assigned this Nov 27, 2023
@MoulikaKulkarni
Copy link
Contributor

MoulikaKulkarni commented Nov 27, 2023

  • Reviewing and making changes to the API Response
  • Checking the API Payload

@pranalidhanavade pranalidhanavade self-assigned this Dec 11, 2023
@nishad-ayanworks nishad-ayanworks removed their assignment Dec 12, 2023
@MoulikaKulkarni MoulikaKulkarni linked a pull request Dec 14, 2023 that will close this issue
@KulkarniShashank KulkarniShashank changed the title APIs response refactor refactor: APIs response refactor Apr 10, 2024
@pranalidhanavade
Copy link
Contributor

This is completed.

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