Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 81 additions & 42 deletions openapi/schemas/asset.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@
"summary": "Compresses an uploaded image and returns the WebP result.",
"description": "Compression metrics are returned in response headers: X-Original-Size, X-Compressed-Size,\n X-Processing-Time-Ms, X-Original-Dimensions, X-Output-Dimensions.",
"parameters": [
{
"name": "library",
"in": "query",
"description": "The compression library to use.",
"schema": {
"$ref": "#/components/schemas/CompressionLibrary"
}
},
{
"name": "quality",
"in": "query",
Expand Down Expand Up @@ -104,6 +96,34 @@
"Asset"
],
"summary": "Uploads a file to our system and returns the new file name used internally.",
"parameters": [
{
"name": "compress",
"in": "query",
"description": "When set, forces image compression on or off for this upload, overriding the configured default.",
"schema": {
"type": "boolean"
}
},
{
"name": "quality",
"in": "query",
"description": "WebP quality (1..100) to use when compression runs. Falls back to the configured default when null.",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "maxdim",
"in": "query",
"description": "Maximum width or height in pixels when compression runs. Falls back to the configured default when null.",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"requestBody": {
"description": "The file to upload",
"content": {
Expand Down Expand Up @@ -169,6 +189,32 @@
"type": "string",
"format": "uri"
}
},
{
"name": "compress",
"in": "query",
"description": "When set, forces image compression on or off for this upload, overriding the configured default.",
"schema": {
"type": "boolean"
}
},
{
"name": "quality",
"in": "query",
"description": "WebP quality (1..100) to use when compression runs. Falls back to the configured default when null.",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "maxdim",
"in": "query",
"description": "Maximum width or height in pixels when compression runs. Falls back to the configured default when null.",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
Expand Down Expand Up @@ -411,11 +457,24 @@
"Failed"
]
},
"CompressionLibrary": {
"enum": [
"ImageSharp",
"NetVips"
]
"CompressionOverride": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"nullable": true
},
"quality": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxDimension": {
"type": "integer",
"format": "int32",
"nullable": true
}
}
},
"CreateBatchUploadEndpoint_Input": {
"required": [
Expand All @@ -439,6 +498,14 @@
"type": "string",
"description": "Optional client-supplied identifier to group related batch uploads.",
"nullable": true
},
"compression": {
"allOf": [
{
"$ref": "#/components/schemas/CompressionOverride"
}
],
"description": "Optional per-call override for image compression applied to every URL in the batch.\n Null means use the configured defaults."
}
}
},
Expand Down Expand Up @@ -697,47 +764,19 @@
}
},
"securitySchemes": {
"Bearer": {
"type": "http",
"description": "JWT Authorization header using the Bearer scheme",
"scheme": "bearer",
"bearerFormat": "Json Web Token"
},
"OpenIdConnect": {
"type": "openIdConnect",
"description": "OpenId Connect connection flow",
"description": "OpenID Connect connection flow",
"openIdConnectUrl": "https://auth.rabbitdata.ch/.well-known/openid-configuration"
},
"OAuth2": {
"type": "oauth2",
"description": "OAuth2 authorization header using the Bearer scheme",
"flows": {
"authorizationCode": {
"authorizationUrl": "https://auth.rabbitdata.ch/connect/authorize",
"tokenUrl": "https://auth.rabbitdata.ch/connect/token",
"refreshUrl": "https://auth.rabbitdata.ch/connect/token",
"scopes": {
"openid": "OpenID",
"profile": "Profile",
"email": "Email"
}
}
}
}
}
},
"security": [
{
"Bearer": [ ],
"OpenIdConnect": [
"openid",
"profile",
"email"
],
"OAuth2": [
"openid",
"profile",
"email"
]
}
]
Expand Down
30 changes: 1 addition & 29 deletions openapi/schemas/audience.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -4718,47 +4718,19 @@
}
},
"securitySchemes": {
"Bearer": {
"type": "http",
"description": "JWT Authorization header using the Bearer scheme",
"scheme": "bearer",
"bearerFormat": "Json Web Token"
},
"OpenIdConnect": {
"type": "openIdConnect",
"description": "OpenId Connect connection flow",
"description": "OpenID Connect connection flow",
"openIdConnectUrl": "https://auth.rabbitdata.ch/.well-known/openid-configuration"
},
"OAuth2": {
"type": "oauth2",
"description": "OAuth2 authorization header using the Bearer scheme",
"flows": {
"authorizationCode": {
"authorizationUrl": "https://auth.rabbitdata.ch/connect/authorize",
"tokenUrl": "https://auth.rabbitdata.ch/connect/token",
"refreshUrl": "https://auth.rabbitdata.ch/connect/token",
"scopes": {
"openid": "OpenID",
"profile": "Profile",
"email": "Email"
}
}
}
}
}
},
"security": [
{
"Bearer": [ ],
"OpenIdConnect": [
"openid",
"profile",
"email"
],
"OAuth2": [
"openid",
"profile",
"email"
]
}
]
Expand Down
30 changes: 1 addition & 29 deletions openapi/schemas/campaign.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2908,47 +2908,19 @@
}
},
"securitySchemes": {
"Bearer": {
"type": "http",
"description": "JWT Authorization header using the Bearer scheme",
"scheme": "bearer",
"bearerFormat": "Json Web Token"
},
"OpenIdConnect": {
"type": "openIdConnect",
"description": "OpenId Connect connection flow",
"description": "OpenID Connect connection flow",
"openIdConnectUrl": "https://auth.rabbitdata.ch/.well-known/openid-configuration"
},
"OAuth2": {
"type": "oauth2",
"description": "OAuth2 authorization header using the Bearer scheme",
"flows": {
"authorizationCode": {
"authorizationUrl": "https://auth.rabbitdata.ch/connect/authorize",
"tokenUrl": "https://auth.rabbitdata.ch/connect/token",
"refreshUrl": "https://auth.rabbitdata.ch/connect/token",
"scopes": {
"openid": "OpenID",
"profile": "Profile",
"email": "Email"
}
}
}
}
}
},
"security": [
{
"Bearer": [ ],
"OpenIdConnect": [
"openid",
"profile",
"email"
],
"OAuth2": [
"openid",
"profile",
"email"
]
}
]
Expand Down
30 changes: 1 addition & 29 deletions openapi/schemas/dataset.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1564,47 +1564,19 @@
}
},
"securitySchemes": {
"Bearer": {
"type": "http",
"description": "JWT Authorization header using the Bearer scheme",
"scheme": "bearer",
"bearerFormat": "Json Web Token"
},
"OpenIdConnect": {
"type": "openIdConnect",
"description": "OpenId Connect connection flow",
"description": "OpenID Connect connection flow",
"openIdConnectUrl": "https://auth.rabbitdata.ch/.well-known/openid-configuration"
},
"OAuth2": {
"type": "oauth2",
"description": "OAuth2 authorization header using the Bearer scheme",
"flows": {
"authorizationCode": {
"authorizationUrl": "https://auth.rabbitdata.ch/connect/authorize",
"tokenUrl": "https://auth.rabbitdata.ch/connect/token",
"refreshUrl": "https://auth.rabbitdata.ch/connect/token",
"scopes": {
"openid": "OpenID",
"profile": "Profile",
"email": "Email"
}
}
}
}
}
},
"security": [
{
"Bearer": [ ],
"OpenIdConnect": [
"openid",
"profile",
"email"
],
"OAuth2": [
"openid",
"profile",
"email"
]
}
]
Expand Down
30 changes: 1 addition & 29 deletions openapi/schemas/flow.openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2623,47 +2623,19 @@
}
},
"securitySchemes": {
"Bearer": {
"type": "http",
"description": "JWT Authorization header using the Bearer scheme",
"scheme": "bearer",
"bearerFormat": "Json Web Token"
},
"OpenIdConnect": {
"type": "openIdConnect",
"description": "OpenId Connect connection flow",
"description": "OpenID Connect connection flow",
"openIdConnectUrl": "https://auth.rabbitdata.ch/.well-known/openid-configuration"
},
"OAuth2": {
"type": "oauth2",
"description": "OAuth2 authorization header using the Bearer scheme",
"flows": {
"authorizationCode": {
"authorizationUrl": "https://auth.rabbitdata.ch/connect/authorize",
"tokenUrl": "https://auth.rabbitdata.ch/connect/token",
"refreshUrl": "https://auth.rabbitdata.ch/connect/token",
"scopes": {
"openid": "OpenID",
"profile": "Profile",
"email": "Email"
}
}
}
}
}
},
"security": [
{
"Bearer": [ ],
"OpenIdConnect": [
"openid",
"profile",
"email"
],
"OAuth2": [
"openid",
"profile",
"email"
]
}
]
Expand Down
Loading
Loading