Coder Social home page Coder Social logo

API for VID revocation about inji HOT 11 OPEN

mosip avatar mosip commented on August 14, 2024
API for VID revocation

from inji.

Comments (11)

rakhimosip avatar rakhimosip commented on August 14, 2024 2

@kneckinator the above API is available in the qa4 environment. We have removed the individualIdType parameter from the request body in the latest version.

The swagger link to the api is available here

from inji.

kneckinator avatar kneckinator commented on August 14, 2024 1

Noting from above posted by @rakhimosip and from previous discussions that it is only possible to revoke a VID.
From previous discussions, there is no need to update any existing verifiable credentials (VC:s) derived from the VID that is being revoked.

After a VID has been revoked, it should no longer be possible to request a VC for it.

from inji.

rakhimosip avatar rakhimosip commented on August 14, 2024

@kneckinator the details for revoke VID API are given below

Image

Image

Sample request is given below:

{
  "id": "mosip.resident.vidstatus",
  "version": "v1",
  "requesttime": "2020-06-06T08:41:21.178Z",
  "request": {
  "transactionID": "0123456789",
  "individualId": "6396413495",
  "otp": "111111",
  "vidStatus": "REVOKED"
  }
}

from inji.

kneckinator avatar kneckinator commented on August 14, 2024

Updated issue description.

from inji.

kneckinator avatar kneckinator commented on August 14, 2024

Updated issue title (VC->VID)

from inji.

kneckinator avatar kneckinator commented on August 14, 2024

@rakhimosip when and where will the above API go live so that we can test it?
The documentation https://docs.mosip.io/1.1.5/apis/resident-service-apis#patch-resident-v1-vid-vid points to a different way of doing it, still.

CC @danicaerediano

from inji.

kneckinator avatar kneckinator commented on August 14, 2024

@rakhimosip which version of the MOSIP platform is it targeting?

from inji.

rakhimosip avatar rakhimosip commented on August 14, 2024

@kneckinator qa4 is on 1.2.1 version of the platform. This version is a WIP and has not yet been released.

I just checked and this change was NOT part of the 1.2.0 version. API link here

I will check about 1.2.0.1 version and update it here.

from inji.

kneckinator avatar kneckinator commented on August 14, 2024

@rakhimosip Ok, so for the VID revocation for 1.1.5, should the https://docs.mosip.io/1.1.5/apis/resident-service-apis#patch-resident-v1-vid-vid API be used?

from inji.

rakhimosip avatar rakhimosip commented on August 14, 2024

@kneckinator Yes, you are right. If the app is being used on top of the 1.1.5 platform version then we need to use the old API

from inji.

rakhimosip avatar rakhimosip commented on August 14, 2024

@kneckinator I have an update on this.
In 1.2.0 and onwards the individualIdType was made an optional paramt. in the API. This means that we can still pass it as a paramt. from Mimoto and depending on the platform version it may be used (1.1.5) or ignored (1.2.0 onwards)

Your thoughts on this?

from inji.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.