REST API PCSC Routes PCSC Readers
April 13, 2023 at 2:39 AMList PC/SC readers
Role
Returns the list of PC/SC readers (not only SpringCard’s) currently attached to the computer.
Request
URL : /pcsc/readers
Method : GET
URL Params : None
Content : None
Success Response
Code : 200 OK
Content : an object containing the list of PC/SC reader names and the list of PC/SC reader IDs, as specified below.
Response content
Field name | Type | Status | Description |
---|---|---|---|
Names |
array of strings | always | List of PC/SC reader names |
ReaderIds |
array of strings | always | List of PC/SC reader IDs |
Example
{
"Names": [
"SpringCard Puck Contactless 0",
"SpringCard Puck SAM 0",
"SpringCard Prox'N'Roll Contactless 1"
],
"ReaderIds": [
"woh809L8Tz24YkHK7EW8s7",
"jCM8RcY1xn6kc1fpPUMpk2",
"M7y9G3Qxxg0eTmgBbgf2X2"
]
}
Error Response
See Error Responses. An ERROR object is returned in case of a PC/SC-specific error, with the "Error"
field present and populated.