user_accesses

Resource: user_access

This link relationship returns a collection of user accesses. You can paginate through this collection using the hypermedia links provided and the link relationships of first, prev, next, and last.

Required Scopes

Full store_full_access
Read store_user_accesses_read
Write store_user_accesses_write

Collection Resource

user_access

Actions

GET View a list of user_accesses
HEAD Get just the header response
OPTIONS Get a response explaining which HTTP methods are supported

Properties (5)

_embedded Object · Read-only

Contains fx:user_accesses[] — array of user_access 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/stores/{store_id}/user_accesses
Available via fx:user_accesses on store

Example Representation

{
  "_links": {
    "curies": [
      {
        "name": "fx",
        "href": "https://api.foxycart.com/rels/{rel}",
        "templated": true
      }
    ],
    "self": {
      "href": "https://api.foxycart.com/stores/123/user_accesses",
      "title": "This Collection"
    },
    "first": {
      "href": "https://api.foxycart.com/stores/123/user_accesses?offset=0",
      "title": "First Page of this Collection"
    },
    "prev": {
      "href": "https://api.foxycart.com/stores/123/user_accesses?offset=0",
      "title": "Previous Page of this Collection"
    },
    "next": {
      "href": "https://api.foxycart.com/stores/123/user_accesses?offset=20",
      "title": "Next Page of this Collection"
    },
    "last": {
      "href": "https://api.foxycart.com/stores/123/user_accesses?offset=20",
      "title": "Last Page of this Collection"
    }
  },
  "_embedded": {
    "fx:user_accesses": [
      {
        "_links": {
          "curies": [
            {
              "name": "fx",
              "href": "https://api.foxycart.com/rels/{rel}",
              "templated": true
            }
          ],
          "self": {
            "href": "https://api.foxycart.com/user_accesses/456",
            "title": "This User Access"
          },
          "fx:store": {
            "href": "https://api.foxycart.com/stores/456",
            "title": "This Store"
          },
          "fx:user": {
            "href": "https://api.foxycart.com/users/999",
            "title": "This User"
          }
        },
        "user_uri": "https://api.foxycart.com/users/1",
        "store_uri": "https://api.foxycart.com/stores/66",
        "is_default_store": true,
        "date_created": "2012-02-06T14:29:36-0800",
        "date_modified": "2012-02-06T14:29:36-0800"
      }
    ]
  },
  "total_items": 1,
  "returned_items": 1,
  "limit": 20,
  "offset": 0
}