diff --git a/api-docs/paths/projects/dsyms.json b/api-docs/paths/projects/dsyms.json index 8221656d080a20..6a0e5c3ca02e36 100644 --- a/api-docs/paths/projects/dsyms.json +++ b/api-docs/paths/projects/dsyms.json @@ -45,7 +45,7 @@ }, "post": { "tags": ["Projects"], - "description": "Upload a new debug information file for the given release.\n\nUnlike other API requests, files must be uploaded using the\ntraditional multipart/form-data content-type.\n\nThe file uploaded is a zip archive of an Apple .dSYM folder which\ncontains the individual debug images. Uploading through this endpoint\nwill create different files for the contained images.", + "description": "Upload a new debug information file for the given release.\n\nUnlike other API requests, files must be uploaded using the\ntraditional multipart/form-data content-type.\n\nRequests to this endpoint should use the region-specific domain eg. `us.sentry.io` or `de.sentry.io`.\n\nThe file uploaded is a zip archive of an Apple .dSYM folder which\ncontains the individual debug images. Uploading through this endpoint\nwill create different files for the contained images.", "operationId": "Upload a New File", "parameters": [ { diff --git a/api-docs/paths/releases/project-release-files.json b/api-docs/paths/releases/project-release-files.json index cfacc62efd3777..d4c1ae52355528 100644 --- a/api-docs/paths/releases/project-release-files.json +++ b/api-docs/paths/releases/project-release-files.json @@ -74,7 +74,7 @@ }, "post": { "tags": ["Releases"], - "description": "Upload a new project release file.", + "description": "Upload a new file for the given release.\n\nUnlike other API requests, files must be uploaded using the traditional multipart/form-data content-type.\n\nRequests to this endpoint should use the region-specific domain eg. `us.sentry.io` or `de.sentry.io`\n\nThe optional 'name' attribute should reflect the absolute path that this file will be referenced as. For example, in the case of JavaScript you might specify the full web URI.", "operationId": "Upload a New Project Release File", "parameters": [ { diff --git a/api-docs/paths/releases/release-files.json b/api-docs/paths/releases/release-files.json index ab1adf49ce89e6..936323c44d4a71 100644 --- a/api-docs/paths/releases/release-files.json +++ b/api-docs/paths/releases/release-files.json @@ -65,7 +65,7 @@ }, "post": { "tags": ["Releases"], - "description": "Upload a new organization release file.", + "description": "Upload a new file for the given release.\n\nUnlike other API requests, files must be uploaded using the traditional multipart/form-data content-type.\n\nRequests to this endpoint should use the region-specific domain eg. `us.sentry.io` or `de.sentry.io`.\n\nThe optional 'name' attribute should reflect the absolute path that this file will be referenced as. For example, in the case of JavaScript you might specify the full web URI.", "operationId": "Upload a New Organization Release File", "parameters": [ { diff --git a/src/sentry/api/endpoints/chunk.py b/src/sentry/api/endpoints/chunk.py index 9095cef5a7ab6e..e0173ee086e215 100644 --- a/src/sentry/api/endpoints/chunk.py +++ b/src/sentry/api/endpoints/chunk.py @@ -122,6 +122,10 @@ def post(self, request: Request, organization) -> Response: """ Upload chunks and store them as FileBlobs ````````````````````````````````````````` + + Requests to this endpoint should use the region-specific domain + eg. `us.sentry.io` or `de.sentry.io` + :pparam file file: The filename should be sha1 hash of the content. Also not you can add up to MAX_CHUNKS_PER_REQUEST files in this request. diff --git a/src/sentry/api/endpoints/debug_files.py b/src/sentry/api/endpoints/debug_files.py index 65bb4a022fa15b..a59efb4bb8c780 100644 --- a/src/sentry/api/endpoints/debug_files.py +++ b/src/sentry/api/endpoints/debug_files.py @@ -351,6 +351,9 @@ def post(self, request: Request, project: Project) -> Response: Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type. + Requests to this endpoint should use the region-specific domain + eg. `us.sentry.io` or `de.sentry.io` + The file uploaded is a zip archive of a Apple .dSYM folder which contains the individual debug images. Uploading through this endpoint will create different files for the contained images. diff --git a/src/sentry/api/endpoints/organization_release_files.py b/src/sentry/api/endpoints/organization_release_files.py index 4e057726f2c47f..6acd32c6126b34 100644 --- a/src/sentry/api/endpoints/organization_release_files.py +++ b/src/sentry/api/endpoints/organization_release_files.py @@ -52,6 +52,9 @@ def post(self, request: Request, organization, version) -> Response: Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type. + Requests to this endpoint should use the region-specific domain + eg. `us.sentry.io` or `de.sentry.io` + The optional 'name' attribute should reflect the absolute path that this file will be referenced as. For example, in the case of JavaScript you might specify the full web URI. diff --git a/src/sentry/api/endpoints/project_release_files.py b/src/sentry/api/endpoints/project_release_files.py index 5674787662a85d..cedb8e32f5ae6b 100644 --- a/src/sentry/api/endpoints/project_release_files.py +++ b/src/sentry/api/endpoints/project_release_files.py @@ -272,6 +272,9 @@ def post(self, request: Request, project, version) -> Response: Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type. + Requests to this endpoint should use the region-specific domain + eg. `us.sentry.io` or `de.sentry.io` + The optional 'name' attribute should reflect the absolute path that this file will be referenced as. For example, in the case of JavaScript you might specify the full web URI.