curl --request GET \
--url https://api.dualship.run/api/v1/projects/{id}/settings \
--header 'Authorization: Bearer <token>' \
--header 'X-Workspace-Id: <x-workspace-id>'{
"cors": {
"allow_credentials": true,
"allowed_headers": [
"<string>"
],
"allowed_methods": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"enabled": true,
"max_age": 86400
},
"log_filters": {
"masked_keywords": [
"<string>"
]
},
"logging": {
"enabled": true
},
"rate_limit": {
"burst_size": 100,
"enabled": true,
"requests_per_min": 1000
}
}Get settings for a project including logging, rate limiting, CORS, and log filters
curl --request GET \
--url https://api.dualship.run/api/v1/projects/{id}/settings \
--header 'Authorization: Bearer <token>' \
--header 'X-Workspace-Id: <x-workspace-id>'{
"cors": {
"allow_credentials": true,
"allowed_headers": [
"<string>"
],
"allowed_methods": [
"<string>"
],
"allowed_origins": [
"<string>"
],
"enabled": true,
"max_age": 86400
},
"log_filters": {
"masked_keywords": [
"<string>"
]
},
"logging": {
"enabled": true
},
"rate_limit": {
"burst_size": 100,
"enabled": true,
"requests_per_min": 1000
}
}JWT Bearer token authentication
Workspace ID
Project ID
Was this page helpful?