List basins.
curl --request GET \
--url https://a.s2.dev/v1/basins \
--header 'Authorization: Bearer <token>'{
"basins": [
{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}
],
"has_more": true
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}basins
List basins.
List S2 basins with prefix filtering and cursor-based pagination.
GET
/
basins
List basins.
curl --request GET \
--url https://a.s2.dev/v1/basins \
--header 'Authorization: Bearer <token>'{
"basins": [
{
"created_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"location": "<string>"
}
],
"has_more": true
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Model paging by specifying
start_after as the last basin name that was returned.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Query Parameters
Filter to basins whose names begin with this prefix.
Filter to basins whose names lexicographically start after this string.
Number of results, up to a maximum of 1000.
Required range:
0 <= x <= 1000
