List Secondary URL Paths of User¶
This endpoint returns a paginated list of all of the secondary URL paths associated with a user.
Request¶
GET https://v2.api.uberflip.com/users/{userId}/secondary-url-paths
Path Parameters | Description |
---|---|
userId | The unique identifier of the user |
Response¶
The response will contain a collection of URL Paths:
Body Parameters | Type | Description |
---|---|---|
data | Array | The collection of URL Paths |
meta | Object | See: Pagination |
Each user in the collection will have properties:
Body Parameters | Type | Description |
---|---|---|
id | Integer | The URL path identifier |
account_id | Integer | The account identifier |
user_id | Integer | The user identifier |
url_slug | String | The URL path |
Examples¶
curl -H "Authorization: Bearer [Token]" \
-i https://v2.api.uberflip.com/users/{userId}/secondary-url-paths
Sample response:
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": [
{
"id": 1,
"account_id": 11,
"user_id": 111,
"url_slug": "path-one"
},
{
"id": 2,
"account_id": 22,
"user_id": 222,
"url_slug": "path-two"
},
{
"id": 3,
"account_id": 33,
"user_id": 333,
"url_slug": "path-three"
}
],
"meta": {
"count": 3,
"limit": 25,
"total_pages": 1
}
}