curl --location 'https://us-prod.notte.cc/functions/47299bee-1430-479c-824e-d488b30054e4/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "47299bee-1430-479c-824e-d488b30054e4",
"variables": {
"query": "water",
"collection_type": "dataset",
"sort_by": "relevance",
"sort_order": "desc",
"page": 1,
"limit": 12
}
}'
{
"page": 0,
"items": [
{
"id": "<string>",
"type": "<string>",
"links": [
{
"rel": "<string>",
"href": "<string>",
"type": "<string>",
"title": "<string>"
}
],
"geometry": {
"type": "<string>",
"coordinates": [
[
[
0
]
]
]
},
"properties": {
"id": "<string>",
"url": "<string>",
"name": "<string>",
"size": 0,
"tags": [
"<string>"
],
"type": "<string>",
"orgId": "<string>",
"owner": "<string>",
"title": "<string>",
"access": "<string>",
"extent": {
"type": "<string>",
"coordinates": [
[
[
0
]
]
]
},
"listed": true,
"source": "<string>",
"created": 0,
"culture": "<string>",
"license": "<string>",
"ownerId": "<string>",
"snippet": "<string>",
"subInfo": 0,
"modified": 0,
"numViews": 0,
"avgRating": 0,
"thumbnail": "<string>",
"categories": [
"<string>"
],
"lastViewed": 0,
"numRatings": 0,
"properties": {
"downloads": {
"hosted": true
}
},
"description": "<string>",
"licenseInfo": "<string>",
"numComments": 0,
"typeKeywords": [
"<string>"
],
"contentStatus": "<string>",
"largeThumbnail": "<string>",
"commentsEnabled": true,
"spatialReference": "<string>",
"accessInformation": "<string>",
"scoreCompleteness": 0,
"apiToken1ExpirationDate": 0,
"apiToken2ExpirationDate": 0
}
}
],
"limit": 0,
"query": "<string>",
"total": 0,
"sort_by": "<string>",
"returned": 0,
"sort_order": "<string>",
"has_next_page": true,
"collection_type": "<string>"
}