passkeys
Resource: passkey
This link relationship returns a collection of passkeys. You can paginate through this collection using the hypermedia links provided and the link relationships of first, prev, next, and last.
Required Scopes
Full
user_full_access
Read
users_read
Write
users_write Collection Resource
passkeyActions
GET View a list of passkeys
HEAD Get just the header response
OPTIONS Get a response explaining which HTTP methods are supported
Properties (5)
_embedded Object · Read-only Contains fx:passkeys[] — array of passkey resources
total_items String · Read-only Total number of resources in this collection.
returned_items Number · Read-only Number of resources returned in this page.
limit Number · Read-only Maximum number of resources per page.
offset Number · Read-only Number of resources skipped.
Link Relations (5)
self This Collection first First Page of this Collection prev Previous Page of this Collection next Next Page of this Collection last Last Page of this Collection https://api.foxycart.com/users/{user_id}/passkeys
Example Representation
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/stores/123/passkeys",
"title": "This Collection"
},
"first": {
"href": "https://api.foxycart.com/stores/123/passkeys?offset=0",
"title": "First Page of this Collection"
},
"prev": {
"href": "https://api.foxycart.com/stores/123/passkeys?offset=0",
"title": "Previous Page of this Collection"
},
"next": {
"href": "https://api.foxycart.com/stores/123/passkeys?offset=20",
"title": "Next Page of this Collection"
},
"last": {
"href": "https://api.foxycart.com/stores/123/passkeys?offset=20",
"title": "Last Page of this Collection"
}
},
"_embedded": {
"fx:passkeys": [
{
"_links": {
"curies": [
{
"name": "fx",
"href": "https://api.foxycart.com/rels/{rel}",
"templated": true
}
],
"self": {
"href": "https://api.foxycart.com/passkeys/456",
"title": "This Passkey"
},
"fx:user": {
"href": "https://api.foxycart.com/users/999",
"title": "Foxy user that owns this passkey"
},
"fx:user_passkeys": {
"href": "https://api.foxycart.com/users/999/passkeys",
"title": "Collection of all passkeys for authenticated User"
}
},
"credential_id": "passkey_credentialId",
"last_login_date": "2024-03-29T19:03:19-0700",
"last_login_ua": null,
"date_created": "2024-03-29T19:03:19-0700",
"date_modified": "2024-03-30T06:55:53-0700"
}
]
},
"total_items": 1,
"returned_items": 1,
"limit": 20,
"offset": 0
}