docs(http): add bucket and org links to ScraperTargetResponse

pull/12543/head
zhulongcheng 2019-03-12 18:53:37 +08:00
parent 76c0513d09
commit 8b7050d6d3
1 changed files with 8 additions and 0 deletions

View File

@ -6858,10 +6858,14 @@ components:
type: string
description: name of the bucket
links:
type: object
readOnly: true
example:
self: "/api/v2/scrapers/1"
owners: "/api/v2/scrapers/1/owners"
members: "/api/v2/scrapers/1/members"
bucket: "/api/v2/buckets/1"
organization: "/api/v2/orgs/1"
properties:
self:
$ref: "#/components/schemas/Link"
@ -6869,6 +6873,10 @@ components:
$ref: "#/components/schemas/Link"
owners:
$ref: "#/components/schemas/Link"
bucket:
$ref: "#/components/schemas/Link"
organization:
$ref: "#/components/schemas/Link"
ScraperTargetResponses:
type: object
properties: