From d027fcdedb5f212f8ba73023c7971e7925940728 Mon Sep 17 00:00:00 2001 From: jmatsuok Date: Fri, 19 Apr 2024 13:34:07 -0400 Subject: [PATCH] Updating schema --- schema/openapi.yaml | 180 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/schema/openapi.yaml b/schema/openapi.yaml index b7db9ef33..ae68add9a 100644 --- a/schema/openapi.yaml +++ b/schema/openapi.yaml @@ -1242,6 +1242,46 @@ paths: description: OK tags: - Discovery + /api/v2/probes: + get: + responses: + "200": + description: OK + tags: + - JMC Agent + /api/v2/probes/{probeTemplateName}: + delete: + parameters: + - in: path + name: probeTemplateName + required: true + schema: + type: string + responses: + "200": + description: OK + tags: + - JMC Agent + post: + parameters: + - in: path + name: probeTemplateName + required: true + schema: + type: string + requestBody: + content: + application/x-www-form-urlencoded: + schema: + properties: + probeTemplate: + $ref: '#/components/schemas/FileUpload' + type: object + responses: + "200": + description: OK + tags: + - JMC Agent /api/v2/rules: get: responses: @@ -1519,6 +1559,52 @@ paths: - SecurityScheme: [] tags: - Events + /api/v2/targets/{connectUrl}/probes: + delete: + parameters: + - in: path + name: connectUrl + required: true + schema: + format: uri + type: string + responses: + "200": + description: OK + tags: + - JMC Agent + get: + parameters: + - in: path + name: connectUrl + required: true + schema: + format: uri + type: string + responses: + "200": + description: OK + tags: + - JMC Agent + /api/v2/targets/{connectUrl}/probes/{probeTemplateName}: + post: + parameters: + - in: path + name: connectUrl + required: true + schema: + format: uri + type: string + - in: path + name: probeTemplateName + required: true + schema: + type: string + responses: + "200": + description: OK + tags: + - JMC Agent /api/v2/targets/{connectUrl}/snapshot: post: parameters: @@ -1723,6 +1809,50 @@ paths: - SecurityScheme: [] tags: - Recordings + /api/v3/probes: + get: + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/V2Response' + description: OK + tags: + - JMC Agent + /api/v3/probes/{probeTemplateName}: + delete: + parameters: + - in: path + name: probeTemplateName + required: true + schema: + type: string + responses: + "200": + description: OK + tags: + - JMC Agent + post: + parameters: + - in: path + name: probeTemplateName + required: true + schema: + type: string + requestBody: + content: + application/x-www-form-urlencoded: + schema: + properties: + probeTemplate: + $ref: '#/components/schemas/FileUpload' + type: object + responses: + "200": + description: OK + tags: + - JMC Agent /api/v3/reports/{encodedKey}: get: parameters: @@ -1896,6 +2026,56 @@ paths: - SecurityScheme: [] tags: - Events + /api/v3/targets/{id}/probes: + delete: + parameters: + - in: path + name: id + required: true + schema: + format: int64 + type: integer + responses: + "200": + description: OK + tags: + - JMC Agent + get: + parameters: + - in: path + name: id + required: true + schema: + format: int64 + type: integer + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/V2Response' + description: OK + tags: + - JMC Agent + /api/v3/targets/{id}/probes/{probeTemplateName}: + post: + parameters: + - in: path + name: id + required: true + schema: + format: int64 + type: integer + - in: path + name: probeTemplateName + required: true + schema: + type: string + responses: + "200": + description: OK + tags: + - JMC Agent /api/v3/targets/{id}/recordingOptions: get: parameters: