@@ -122278,17 +122278,19 @@ components:
122278122278 ServiceRepositoryInfoRequestAttributes:
122279122279 description: Attributes for the service repository info request.
122280122280 properties:
122281+ debug_id:
122282+ description: The debug ID of a JavaScript source map, in UUID format. Alternative to `service` and `version`.
122283+ example: 00000000-0000-4000-8000-000000000001
122284+ format: uuid
122285+ type: string
122281122286 service:
122282- description: The name of the service.
122287+ description: The name of the service. Required with `version` when `debug_id` is not set.
122283122288 example: my-web-service
122284122289 type: string
122285122290 version:
122286- description: The version of the service.
122291+ description: The version of the service. Required with `service` when `debug_id` is not set.
122287122292 example: 1.0.0
122288122293 type: string
122289- required:
122290- - service
122291- - version
122292122294 type: object
122293122295 ServiceRepositoryInfoRequestData:
122294122296 description: Data object for the service repository info request.
@@ -122331,7 +122333,7 @@ components:
122331122333 attributes:
122332122334 $ref: "#/components/schemas/ServiceRepositoryInfoResponseAttributes"
122333122335 id:
122334- description: The identifier composed of the service name and version.
122336+ description: The identifier composed of the service name and version, or the debug ID when the lookup was made by debug ID .
122335122337 example: my-web-service:1.0.0
122336122338 type: string
122337122339 type:
@@ -125011,6 +125013,16 @@ components:
125011125013 type: string
125012125014 x-enum-varnames:
125013125015 - DEBUG_ID
125016+ SourcemapSymbolType:
125017+ description: The WASM symbol representation.
125018+ enum:
125019+ - dwarf
125020+ - sourcemap
125021+ example: dwarf
125022+ type: string
125023+ x-enum-varnames:
125024+ - DWARF
125025+ - SOURCEMAP
125014125026 SourcemapsData:
125015125027 description: List of source map data objects.
125016125028 items:
@@ -239439,6 +239451,14 @@ paths:
239439239451 required: true
239440239452 schema:
239441239453 $ref: "#/components/schemas/SourcemapMapKind"
239454+ - description: |-
239455+ WASM symbol representation. Only supported for `mapkind=wasm`.
239456+ Defaults to `dwarf`, which requires `filter[build_id]`. `sourcemap`
239457+ requires `filter[service]` and `filter[version]`.
239458+ in: query
239459+ name: symbol_type
239460+ schema:
239461+ $ref: "#/components/schemas/SourcemapSymbolType"
239442239462 - description: |-
239443239463 When set to `true`, returns the source maps that would be deleted
239444239464 without performing the actual deletion. When set to `false`,
@@ -239451,7 +239471,8 @@ paths:
239451239471 type: boolean
239452239472 - description: |-
239453239473 Filter by service names (multiple values allowed). Required for
239454- `js`, `jvm`, `react`, and `flutter` map kinds.
239474+ `js`, `jvm`, `react`, and `flutter` map kinds, and for `wasm` with
239475+ `symbol_type=sourcemap`.
239455239476 explode: true
239456239477 in: query
239457239478 name: filter[service]
@@ -239464,7 +239485,8 @@ paths:
239464239485 style: form
239465239486 - description: |-
239466239487 Filter by version values (multiple values allowed, maximum 10).
239467- Required for `js`, `jvm`, `react`, and `flutter` map kinds.
239488+ Required for `js`, `jvm`, `react`, and `flutter` map kinds, and for
239489+ `wasm` with `symbol_type=sourcemap`.
239468239490 explode: true
239469239491 in: query
239470239492 name: filter[version]
@@ -239878,6 +239900,14 @@ paths:
239878239900 name: mapkind
239879239901 schema:
239880239902 $ref: "#/components/schemas/SourcemapMapKind"
239903+ - description: |-
239904+ WASM symbol representation. Only supported for `mapkind=wasm`.
239905+ Defaults to `dwarf`, which requires `filter[build_id]`. `sourcemap`
239906+ requires `filter[service]` and `filter[version]`.
239907+ in: query
239908+ name: symbol_type
239909+ schema:
239910+ $ref: "#/components/schemas/SourcemapSymbolType"
239881239911 - description: |-
239882239912 Cursor for the next page of a JavaScript listing. Use the value from
239883239913 `meta.page.next_cursor` and keep the same search mode and filters.
@@ -239909,7 +239939,8 @@ paths:
239909239939 type: integer
239910239940 - description: |-
239911239941 Filter by service names (multiple values allowed). Required for
239912- `jvm`, `react`, and `flutter` map kinds. Also required for `js` unless
239942+ `jvm`, `react`, and `flutter` map kinds, and for `wasm` with
239943+ `symbol_type=sourcemap`. Also required for `js` unless
239913239944 searching by `filter[debug_id]` or browsing with `search_by=debug_id`.
239914239945 explode: true
239915239946 in: query
@@ -239923,7 +239954,8 @@ paths:
239923239954 style: form
239924239955 - description: |-
239925239956 Filter by version values (multiple values allowed). Required for
239926- `jvm`, `react`, and `flutter` map kinds. Also required for `js` unless
239957+ `jvm`, `react`, and `flutter` map kinds, and for `wasm` with
239958+ `symbol_type=sourcemap`. Also required for `js` unless
239927239959 searching by `filter[debug_id]` or browsing with `search_by=debug_id`.
239928239960 explode: true
239929239961 in: query
@@ -240151,6 +240183,14 @@ paths:
240151240183 required: true
240152240184 schema:
240153240185 $ref: "#/components/schemas/SourcemapMapKind"
240186+ - description: |-
240187+ WASM symbol representation. Only supported for `mapkind=wasm`.
240188+ Defaults to `dwarf`, which requires `filter[build_id]`. `sourcemap`
240189+ requires `filter[service]` and `filter[version]`.
240190+ in: query
240191+ name: symbol_type
240192+ schema:
240193+ $ref: "#/components/schemas/SourcemapSymbolType"
240154240194 - description: |-
240155240195 When set to `true`, returns the source maps that would be restored
240156240196 without performing the actual restoration. When set to `false`,
@@ -240163,7 +240203,8 @@ paths:
240163240203 type: boolean
240164240204 - description: |-
240165240205 Filter by service names (multiple values allowed). Required for
240166- `js`, `jvm`, `react`, and `flutter` map kinds.
240206+ `js`, `jvm`, `react`, and `flutter` map kinds, and for `wasm` with
240207+ `symbol_type=sourcemap`.
240167240208 explode: true
240168240209 in: query
240169240210 name: filter[service]
@@ -240176,7 +240217,8 @@ paths:
240176240217 style: form
240177240218 - description: |-
240178240219 Filter by version values (multiple values allowed, maximum 10).
240179- Required for `js`, `jvm`, `react`, and `flutter` map kinds.
240220+ Required for `js`, `jvm`, `react`, and `flutter` map kinds, and for
240221+ `wasm` with `symbol_type=sourcemap`.
240180240222 explode: true
240181240223 in: query
240182240224 name: filter[version]
@@ -240365,7 +240407,9 @@ paths:
240365240407 If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
240366240408 /api/v2/sourcemaps/service_repository_info:
240367240409 post:
240368- description: Returns the repository URL and commit SHA associated with a given service and version.
240410+ description: |-
240411+ Returns the repository URL and commit SHA associated with a debug ID or a given service and version.
240412+ Provide either `debug_id`, or both `service` and `version`. When `debug_id` is set, it takes precedence.
240369240413 operationId: GetServiceRepositoryInfo
240370240414 requestBody:
240371240415 content:
@@ -240398,6 +240442,12 @@ paths:
240398240442 schema:
240399240443 $ref: "#/components/schemas/ServiceRepositoryInfoResponse"
240400240444 description: OK
240445+ "400":
240446+ content:
240447+ application/json:
240448+ schema:
240449+ $ref: "#/components/schemas/JSONAPIErrorResponse"
240450+ description: Bad Request
240401240451 "401":
240402240452 content:
240403240453 application/json:
0 commit comments