-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bucket.organization and scrapper organization rename to org #13274
Labels
Comments
Hi @kelwang, can you also change the definition in swagger for the Bucket:
properties:
links:
type: object
readOnly: true
example:
labels: "/api/v2/buckets/1/labels"
logs: "/api/v2/buckets/1/logs"
members: "/api/v2/buckets/1/members"
org: "/api/v2/orgs/2"
owners: "/api/v2/buckets/1/owners"
self: "/api/v2/buckets/1"
write: "/api/v2/write?org=2&bucket=1"
properties:
labels:
description: URL to retrieve labels for this bucket
$ref: "#/components/schemas/Link"
logs:
description: URL to retrieve operation logs for this bucket
$ref: "#/components/schemas/Link"
members:
description: URL to retrieve members that can read this bucket
$ref: "#/components/schemas/Link"
org:
description: URL to retrieve parent organization for this bucket
$ref: "#/components/schemas/Link"
owners:
description: URL to retrieve owners that can read and write to this bucket.
$ref: "#/components/schemas/Link"
self:
description: URL for this bucket
$ref: "#/components/schemas/Link"
write:
description: URL to write line protocol for this bucket
$ref: "#/components/schemas/Link"
id:
readOnly: true
type: string
name:
type: string
organizationID:
type: string
organization:
type: string
rp:
type: string
retentionRules:
type: array
description: rules to expire or retain data. No rules means data never expires.
items:
type: object
properties:
type:
type: string
default: expire
enum:
- expire
everySeconds:
type: integer
description: duration in seconds for how long data will be kept in the database.
example: 86400
minimum: 1
required: [type, everySeconds]
labels:
$ref: "#/components/schemas/Labels"
required: [name, retentionRules] should be: Bucket:
properties:
links:
type: object
readOnly: true
example:
labels: "/api/v2/buckets/1/labels"
logs: "/api/v2/buckets/1/logs"
members: "/api/v2/buckets/1/members"
org: "/api/v2/orgs/2"
owners: "/api/v2/buckets/1/owners"
self: "/api/v2/buckets/1"
write: "/api/v2/write?org=2&bucket=1"
properties:
labels:
description: URL to retrieve labels for this bucket
$ref: "#/components/schemas/Link"
logs:
description: URL to retrieve operation logs for this bucket
$ref: "#/components/schemas/Link"
members:
description: URL to retrieve members that can read this bucket
$ref: "#/components/schemas/Link"
org:
description: URL to retrieve parent organization for this bucket
$ref: "#/components/schemas/Link"
owners:
description: URL to retrieve owners that can read and write to this bucket.
$ref: "#/components/schemas/Link"
self:
description: URL for this bucket
$ref: "#/components/schemas/Link"
write:
description: URL to write line protocol for this bucket
$ref: "#/components/schemas/Link"
id:
readOnly: true
type: string
name:
type: string
orgID:
type: string
rp:
type: string
retentionRules:
type: array
description: rules to expire or retain data. No rules means data never expires.
items:
type: object
properties:
type:
type: string
default: expire
enum:
- expire
everySeconds:
type: integer
description: duration in seconds for how long data will be kept in the database.
example: 86400
minimum: 1
required: [type, everySeconds]
labels:
$ref: "#/components/schemas/Labels"
required: [name, retentionRules]
|
looks like this has already been updated. can be closed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
part of
#13148
and
#13147
The text was updated successfully, but these errors were encountered: