Path parameters
-
The SID of the Sync Service with the Map Item resources to read.
-
The SID of the Sync Map with the Sync Map Item resource to fetch. Can be the Sync Map resource's
sid
or itsunique_name
.
Query parameters
-
How to order the Map Items returned by their
key
value. Can be:asc
(ascending) ordesc
(descending) and the default is ascending. Map Items are ordered lexicographically by Item key.Values are
asc
ordesc
. -
The
key
of the first Sync Map Item resource to read. See alsobounds
. -
Whether to include the Map Item referenced by the
from
parameter. Can be:inclusive
to include the Map Item referenced by thefrom
parameter orexclusive
to start with the next Map Item. The default value isinclusive
.Values are
inclusive
orexclusive
. -
How many resources to return in each list page. The default is 50, and the maximum is 100.
Minimum value is
1
, maximum value is100
. -
The page index. This value is simply for client state.
Minimum value is
0
. -
The page token. This is provided by the API.
curl \
--request GET 'https://sync.twilio.com/v1/Services/{ServiceSid}/Maps/{MapSid}/Items' \
--user "username:password"
{
"meta": {
"key": "items",
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps/MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps/MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"previous_page_url": null
},
"items": []
}
{
"meta": {
"key": "items",
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps/MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"page": 0,
"page_size": 50,
"next_page_url": null,
"first_page_url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps/MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items?From=from&Bounds=inclusive&Order=asc&PageSize=50&Page=0",
"previous_page_url": null
},
"items": [
{
"key": "key",
"url": "https://sync.twilio.com/v1/Services/ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Maps/MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Items/key",
"data": {},
"map_sid": "MPaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"revision": "revision",
"created_by": "created_by",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"service_sid": "ISaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2015-07-30T20:00:00Z",
"date_expires": "2015-07-30T21:00:00Z",
"date_updated": "2015-07-30T20:00:00Z"
}
]
}