diff --git a/composer.json b/composer.json index 69e509f2493..b92c2354439 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './lib/Vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l", - "openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')", + "openapi": "generate-spec && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')", "rector:check": "rector --dry-run", "rector:fix": "rector", "psalm": "psalm --no-cache --threads=$(nproc)", diff --git a/openapi-backend-recording.json b/openapi-backend-recording.json index 17f5b9dcdd6..370ded27c58 100644 --- a/openapi-backend-recording.json +++ b/openapi-backend-recording.json @@ -378,6 +378,22 @@ "default": "v1" } }, + { + "name": "talk-recording-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-recording-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the recording backend", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -640,6 +656,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-recording-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-recording-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the recording backend", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", diff --git a/openapi-backend-signaling.json b/openapi-backend-signaling.json index 83591942fdc..cfd9985a075 100644 --- a/openapi-backend-signaling.json +++ b/openapi-backend-signaling.json @@ -379,6 +379,22 @@ "default": "v3" } }, + { + "name": "spreed-signaling-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "spreed-signaling-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the signaling backend", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", diff --git a/openapi-backend-sipbridge.json b/openapi-backend-sipbridge.json index 7064ed7a224..62ab627ab60 100644 --- a/openapi-backend-sipbridge.json +++ b/openapi-backend-sipbridge.json @@ -981,6 +981,23 @@ { "name": "x-nextcloud-federation", "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", "schema": { "type": "string" } @@ -1145,6 +1162,22 @@ "pattern": "^\\d{7,32}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1337,6 +1370,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1546,6 +1595,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1765,6 +1830,22 @@ "default": "v4" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1968,6 +2049,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -2128,6 +2225,22 @@ "type": "string" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", diff --git a/openapi-federation.json b/openapi-federation.json index c6450f32328..2e6d156dda0 100644 --- a/openapi-federation.json +++ b/openapi-federation.json @@ -1057,6 +1057,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1134,6 +1142,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1234,6 +1250,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1321,6 +1345,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1839,6 +1871,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -1967,6 +2007,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", diff --git a/openapi-full.json b/openapi-full.json index e7b563957b6..648bb2bb9b4 100644 --- a/openapi-full.json +++ b/openapi-full.json @@ -2170,6 +2170,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -2460,6 +2468,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -4621,6 +4637,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -4744,6 +4768,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -4915,6 +4947,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -5069,6 +5109,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -5923,6 +5971,14 @@ "format": "int64" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -6383,6 +6439,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -6524,6 +6588,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7105,6 +7177,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7412,6 +7492,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7752,6 +7840,14 @@ "maximum": 100 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7884,6 +7980,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8010,6 +8114,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8136,6 +8248,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8356,6 +8476,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8444,6 +8572,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8566,6 +8702,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10066,6 +10210,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10278,6 +10430,14 @@ "format": "int64" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10497,6 +10657,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10650,6 +10818,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10801,6 +10977,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10969,6 +11153,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -11387,6 +11579,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -11590,6 +11790,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -11757,6 +11965,14 @@ "nullable": true } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -13203,6 +13419,23 @@ { "name": "x-nextcloud-federation", "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", "schema": { "type": "string" } @@ -14897,6 +15130,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -15465,6 +15706,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -18808,6 +19057,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -19763,6 +20020,7 @@ { "name": "talk-recording-random", "in": "header", + "description": "Random seed used to generate the request checksum", "schema": { "type": "string" } @@ -19770,6 +20028,7 @@ { "name": "talk-recording-checksum", "in": "header", + "description": "Checksum over the request body to verify authenticity from the recording backend", "schema": { "type": "string" } @@ -20522,6 +20781,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -20599,6 +20866,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -20699,6 +20974,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -20786,6 +21069,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -21304,6 +21595,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -21432,6 +21731,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -23365,6 +23672,22 @@ "default": "v1" } }, + { + "name": "talk-recording-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-recording-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the recording backend", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -23627,6 +23950,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-recording-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-recording-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the recording backend", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -23812,6 +24151,22 @@ "pattern": "^\\d{7,32}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -24004,6 +24359,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -24213,6 +24584,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -24432,6 +24819,22 @@ "default": "v4" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -24635,6 +25038,22 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -24795,6 +25214,22 @@ "type": "string" } }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -24990,6 +25425,22 @@ "default": "v3" } }, + { + "name": "spreed-signaling-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "spreed-signaling-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the signaling backend", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", diff --git a/openapi.json b/openapi.json index 6fc5ba07b33..6ef1bd9c0d8 100644 --- a/openapi.json +++ b/openapi.json @@ -2075,6 +2075,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -2365,6 +2373,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -4526,6 +4542,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -4649,6 +4673,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -4820,6 +4852,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -4974,6 +5014,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -5828,6 +5876,14 @@ "format": "int64" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -6288,6 +6344,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -6429,6 +6493,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7010,6 +7082,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7317,6 +7397,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7657,6 +7745,14 @@ "maximum": 100 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7789,6 +7885,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -7915,6 +8019,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8041,6 +8153,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8261,6 +8381,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8349,6 +8477,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -8471,6 +8607,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -9971,6 +10115,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10183,6 +10335,14 @@ "format": "int64" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10402,6 +10562,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10555,6 +10723,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10706,6 +10882,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -10874,6 +11058,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -11292,6 +11484,14 @@ "minimum": 0 } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -11495,6 +11695,14 @@ "type": "string" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -11662,6 +11870,14 @@ "nullable": true } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -13108,6 +13324,23 @@ { "name": "x-nextcloud-federation", "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-random", + "in": "header", + "description": "Random seed used to generate the request checksum", + "schema": { + "type": "string" + } + }, + { + "name": "talk-sipbridge-checksum", + "in": "header", + "description": "Checksum over the request body to verify authenticity from the Sipbridge", "schema": { "type": "string" } @@ -14802,6 +15035,14 @@ ] } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -15370,6 +15611,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -18713,6 +18962,14 @@ "pattern": "^[a-z0-9]{4,30}$" } }, + { + "name": "x-nextcloud-federation", + "in": "header", + "description": "Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request", + "schema": { + "type": "string" + } + }, { "name": "OCS-APIRequest", "in": "header", @@ -19668,6 +19925,7 @@ { "name": "talk-recording-random", "in": "header", + "description": "Random seed used to generate the request checksum", "schema": { "type": "string" } @@ -19675,6 +19933,7 @@ { "name": "talk-recording-checksum", "in": "header", + "description": "Checksum over the request body to verify authenticity from the recording backend", "schema": { "type": "string" } diff --git a/src/types/openapi/openapi-backend-recording.ts b/src/types/openapi/openapi-backend-recording.ts index 964854ca676..25cfbd2e2d5 100644 --- a/src/types/openapi/openapi-backend-recording.ts +++ b/src/types/openapi/openapi-backend-recording.ts @@ -145,6 +145,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-recording-random"?: string; + /** @description Checksum over the request body to verify authenticity from the recording backend */ + "talk-recording-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -235,6 +239,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-recording-random"?: string; + /** @description Checksum over the request body to verify authenticity from the recording backend */ + "talk-recording-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; diff --git a/src/types/openapi/openapi-backend-signaling.ts b/src/types/openapi/openapi-backend-signaling.ts index 89555db4dd0..8c9402bdcc5 100644 --- a/src/types/openapi/openapi-backend-signaling.ts +++ b/src/types/openapi/openapi-backend-signaling.ts @@ -131,6 +131,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "spreed-signaling-random"?: string; + /** @description Checksum over the request body to verify authenticity from the signaling backend */ + "spreed-signaling-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; diff --git a/src/types/openapi/openapi-backend-sipbridge.ts b/src/types/openapi/openapi-backend-sipbridge.ts index 516ced26f04..f3215a1e9f5 100644 --- a/src/types/openapi/openapi-backend-sipbridge.ts +++ b/src/types/openapi/openapi-backend-sipbridge.ts @@ -515,7 +515,12 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ "x-nextcloud-federation"?: string; + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -577,6 +582,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -652,6 +661,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -732,6 +745,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -836,6 +853,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -931,6 +952,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -995,6 +1020,10 @@ export interface operations { options?: string; }; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; diff --git a/src/types/openapi/openapi-federation.ts b/src/types/openapi/openapi-federation.ts index 50a526d5089..05207c3f476 100644 --- a/src/types/openapi/openapi-federation.ts +++ b/src/types/openapi/openapi-federation.ts @@ -547,6 +547,8 @@ export interface operations { darkTheme?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -577,6 +579,8 @@ export interface operations { cloudId: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -609,6 +613,8 @@ export interface operations { darkTheme?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -640,6 +646,8 @@ export interface operations { cloudId: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -842,6 +850,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -899,6 +909,8 @@ export interface operations { sessionId: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; diff --git a/src/types/openapi/openapi-full.ts b/src/types/openapi/openapi-full.ts index 807028e05d9..6c3a50701db 100644 --- a/src/types/openapi/openapi-full.ts +++ b/src/types/openapi/openapi-full.ts @@ -2786,6 +2786,8 @@ export interface operations { darkTheme?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -2946,6 +2948,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3784,6 +3788,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3815,6 +3821,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3884,6 +3892,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3974,6 +3984,8 @@ export interface operations { all?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4332,6 +4344,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4492,6 +4506,8 @@ export interface operations { markNotificationsAsRead?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4532,6 +4548,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4795,6 +4813,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4931,6 +4951,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5047,6 +5069,8 @@ export interface operations { limit?: number; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5089,6 +5113,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5138,6 +5164,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5197,6 +5225,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5278,6 +5308,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5321,6 +5353,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5360,6 +5394,8 @@ export interface operations { includeStatus?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5932,6 +5968,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6019,6 +6057,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6123,6 +6163,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6182,6 +6224,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6231,6 +6275,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6306,6 +6352,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6462,6 +6510,8 @@ export interface operations { reaction?: string | null; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6511,6 +6561,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6600,6 +6652,8 @@ export interface operations { reaction: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -7212,7 +7266,12 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ "x-nextcloud-federation"?: string; + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -7868,6 +7927,8 @@ export interface operations { includeStatus?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -8077,6 +8138,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -9415,6 +9478,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -9789,7 +9854,9 @@ export interface operations { token?: string; }; header: { + /** @description Random seed used to generate the request checksum */ "talk-recording-random"?: string; + /** @description Checksum over the request body to verify authenticity from the recording backend */ "talk-recording-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; @@ -10079,6 +10146,8 @@ export interface operations { darkTheme?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -10109,6 +10178,8 @@ export interface operations { cloudId: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -10141,6 +10212,8 @@ export interface operations { darkTheme?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -10172,6 +10245,8 @@ export interface operations { cloudId: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -10374,6 +10449,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -10431,6 +10508,8 @@ export interface operations { sessionId: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11238,6 +11317,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-recording-random"?: string; + /** @description Checksum over the request body to verify authenticity from the recording backend */ + "talk-recording-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11328,6 +11411,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-recording-random"?: string; + /** @description Checksum over the request body to verify authenticity from the recording backend */ + "talk-recording-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11402,6 +11489,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11477,6 +11568,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11557,6 +11652,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11661,6 +11760,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11756,6 +11859,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11820,6 +11927,10 @@ export interface operations { options?: string; }; header: { + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -11907,6 +12018,10 @@ export interface operations { parameters: { query?: never; header: { + /** @description Random seed used to generate the request checksum */ + "spreed-signaling-random"?: string; + /** @description Checksum over the request body to verify authenticity from the signaling backend */ + "spreed-signaling-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; diff --git a/src/types/openapi/openapi.ts b/src/types/openapi/openapi.ts index bdefa5a0768..42a87116cef 100644 --- a/src/types/openapi/openapi.ts +++ b/src/types/openapi/openapi.ts @@ -2248,6 +2248,8 @@ export interface operations { darkTheme?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -2408,6 +2410,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3246,6 +3250,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3277,6 +3283,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3346,6 +3354,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3436,6 +3446,8 @@ export interface operations { all?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3794,6 +3806,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3954,6 +3968,8 @@ export interface operations { markNotificationsAsRead?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -3994,6 +4010,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4257,6 +4275,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4393,6 +4413,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4509,6 +4531,8 @@ export interface operations { limit?: number; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4551,6 +4575,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4600,6 +4626,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4659,6 +4687,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4740,6 +4770,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4783,6 +4815,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -4822,6 +4856,8 @@ export interface operations { includeStatus?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5394,6 +5430,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5481,6 +5519,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5585,6 +5625,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5644,6 +5686,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5693,6 +5737,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5768,6 +5814,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5924,6 +5972,8 @@ export interface operations { reaction?: string | null; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -5973,6 +6023,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6062,6 +6114,8 @@ export interface operations { reaction: string; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -6674,7 +6728,12 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ "x-nextcloud-federation"?: string; + /** @description Random seed used to generate the request checksum */ + "talk-sipbridge-random"?: string; + /** @description Checksum over the request body to verify authenticity from the Sipbridge */ + "talk-sipbridge-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -7330,6 +7389,8 @@ export interface operations { includeStatus?: 0 | 1; }; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -7539,6 +7600,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -8877,6 +8940,8 @@ export interface operations { parameters: { query?: never; header: { + /** @description Set to 1 when the request is performed by another Nextcloud Server to indicate a federation request */ + "x-nextcloud-federation"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; }; @@ -9251,7 +9316,9 @@ export interface operations { token?: string; }; header: { + /** @description Random seed used to generate the request checksum */ "talk-recording-random"?: string; + /** @description Checksum over the request body to verify authenticity from the recording backend */ "talk-recording-checksum"?: string; /** @description Required to be true for the API request to pass */ "OCS-APIRequest": boolean; diff --git a/vendor-bin/openapi-extractor/composer.json b/vendor-bin/openapi-extractor/composer.json index 00f8d9c2347..b19e472d5a6 100644 --- a/vendor-bin/openapi-extractor/composer.json +++ b/vendor-bin/openapi-extractor/composer.json @@ -5,6 +5,6 @@ } }, "require-dev": { - "nextcloud/openapi-extractor": "^1.7.0" + "nextcloud/openapi-extractor": "^1.8" } } diff --git a/vendor-bin/openapi-extractor/composer.lock b/vendor-bin/openapi-extractor/composer.lock index e752dfe2471..3be39b4bdcc 100644 --- a/vendor-bin/openapi-extractor/composer.lock +++ b/vendor-bin/openapi-extractor/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3b94d80b90be8e9bc53a683dc4be4720", + "content-hash": "f854d667ebf53a194ba66c04cd3b409c", "packages": [], "packages-dev": [ { @@ -82,16 +82,16 @@ }, { "name": "nextcloud/openapi-extractor", - "version": "v1.7.0", + "version": "v1.8.0", "source": { "type": "git", "url": "https://github.com/nextcloud-releases/openapi-extractor.git", - "reference": "50391ff00656b88a9ca0d934c386c3e20642f24a" + "reference": "4c7a66afce9938279473fc08cadf011de41150f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-releases/openapi-extractor/zipball/50391ff00656b88a9ca0d934c386c3e20642f24a", - "reference": "50391ff00656b88a9ca0d934c386c3e20642f24a", + "url": "https://api.github.com/repos/nextcloud-releases/openapi-extractor/zipball/4c7a66afce9938279473fc08cadf011de41150f8", + "reference": "4c7a66afce9938279473fc08cadf011de41150f8", "shasum": "" }, "require": { @@ -123,9 +123,9 @@ "description": "A tool for extracting OpenAPI specifications from Nextcloud source code", "support": { "issues": "https://github.com/nextcloud-releases/openapi-extractor/issues", - "source": "https://github.com/nextcloud-releases/openapi-extractor/tree/v1.7.0" + "source": "https://github.com/nextcloud-releases/openapi-extractor/tree/v1.8.0" }, - "time": "2025-05-15T08:30:31+00:00" + "time": "2025-06-03T13:01:15+00:00" }, { "name": "nikic/php-parser", @@ -235,13 +235,13 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "platform-overrides": { "php": "8.1" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }