mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add public flag instead of system setting to enable signup (#3589)
This commit is contained in:
@@ -301,16 +301,12 @@ paths:
|
||||
type: integer
|
||||
format: int32
|
||||
- name: pageToken
|
||||
description: |-
|
||||
A page token, received from a previous `ListMemos` call.
|
||||
Provide this to retrieve the subsequent page.
|
||||
description: "A page token, received from a previous `ListMemos` call.\r\nProvide this to retrieve the subsequent page."
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: filter
|
||||
description: |-
|
||||
Filter is used to filter memos returned in the list.
|
||||
Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"
|
||||
description: "Filter is used to filter memos returned in the list.\r\nFormat: \"creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']\""
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -351,17 +347,12 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
name is the name of the user to get stats for.
|
||||
Format: users/{id}
|
||||
description: "name is the name of the user to get stats for.\r\nFormat: users/{id}"
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
- name: timezone
|
||||
description: |-
|
||||
timezone location
|
||||
Format: uses tz identifier
|
||||
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
||||
description: "timezone location\r\nFormat: uses tz identifier\r\nhttps://en.wikipedia.org/wiki/List_of_tz_database_time_zones"
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -408,9 +399,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: filter
|
||||
description: |-
|
||||
Filter is used to filter memos returned.
|
||||
Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"
|
||||
description: "Filter is used to filter memos returned.\r\nFormat: \"creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']\""
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -543,9 +532,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: filter
|
||||
description: |-
|
||||
Filter is used to filter users returned in the list.
|
||||
Format: "username == 'frank'"
|
||||
description: "Filter is used to filter users returned in the list.\r\nFormat: \"username == 'frank'\""
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -706,9 +693,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The resource name of the workspace setting.
|
||||
Format: settings/{setting}
|
||||
description: "The resource name of the workspace setting.\r\nFormat: settings/{setting}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -730,9 +715,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: setting.name
|
||||
description: |-
|
||||
name is the name of the setting.
|
||||
Format: settings/{setting}
|
||||
description: "name is the name of the setting.\r\nFormat: settings/{setting}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -768,9 +751,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: identityProvider.name
|
||||
description: |-
|
||||
The name of the identityProvider.
|
||||
Format: identityProviders/{id}
|
||||
description: "The name of the identityProvider.\r\nFormat: identityProviders/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -808,9 +789,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: inbox.name
|
||||
description: |-
|
||||
The name of the inbox.
|
||||
Format: inboxes/{id}
|
||||
description: "The name of the inbox.\r\nFormat: inboxes/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -854,10 +833,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: memo.name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
id is the system generated id.
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}\r\nid is the system generated id."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -875,9 +851,7 @@ paths:
|
||||
$ref: '#/definitions/v1RowStatus'
|
||||
creator:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the creator.
|
||||
Format: users/{id}
|
||||
title: "The name of the creator.\r\nFormat: users/{id}"
|
||||
createTime:
|
||||
type: string
|
||||
format: date-time
|
||||
@@ -930,9 +904,7 @@ paths:
|
||||
readOnly: true
|
||||
parent:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the parent memo.
|
||||
Format: memos/{id}
|
||||
title: "The name of the parent memo.\r\nFormat: memos/{id}"
|
||||
readOnly: true
|
||||
tags:
|
||||
- MemoService
|
||||
@@ -951,9 +923,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name_1
|
||||
description: |-
|
||||
The name of the identityProvider to get.
|
||||
Format: identityProviders/{id}
|
||||
description: "The name of the identityProvider to get.\r\nFormat: identityProviders/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -975,9 +945,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name_1
|
||||
description: |-
|
||||
The name of the identityProvider to delete.
|
||||
Format: identityProviders/{id}
|
||||
description: "The name of the identityProvider to delete.\r\nFormat: identityProviders/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -999,10 +967,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name_2
|
||||
description: |-
|
||||
The name of the resource.
|
||||
Format: resources/{id}
|
||||
id is the system generated unique identifier.
|
||||
description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1024,9 +989,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name_2
|
||||
description: |-
|
||||
The name of the inbox to delete.
|
||||
Format: inboxes/{id}
|
||||
description: "The name of the inbox to delete.\r\nFormat: inboxes/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1048,9 +1011,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name_3
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1072,10 +1033,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name_3
|
||||
description: |-
|
||||
The name of the resource.
|
||||
Format: resources/{id}
|
||||
id is the system generated unique identifier.
|
||||
description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1098,9 +1056,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name_4
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1122,9 +1078,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1146,9 +1100,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1170,9 +1122,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1193,9 +1143,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1223,9 +1171,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1252,9 +1198,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1275,9 +1219,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1304,9 +1246,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}. Use "memos/-" to list all properties.
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}. Use \"memos/-\" to list all properties."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1329,9 +1269,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}. Use "memos/-" to rebuild all memos.
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}. Use \"memos/-\" to rebuild all memos."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1358,9 +1296,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1381,9 +1317,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1410,9 +1344,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1434,9 +1366,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1463,9 +1393,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1487,9 +1415,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1516,9 +1442,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1540,17 +1464,13 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: parent
|
||||
description: |-
|
||||
The parent, who owns the tags.
|
||||
Format: memos/{id}. Use "memos/-" to list all tags.
|
||||
description: "The parent, who owns the tags.\r\nFormat: memos/{id}. Use \"memos/-\" to list all tags."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
pattern: memos/[^/]+
|
||||
- name: filter
|
||||
description: |-
|
||||
Filter is used to filter memos.
|
||||
Format: "creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']"
|
||||
description: "Filter is used to filter memos.\r\nFormat: \"creator == 'users/{uid}' && visibilities == ['PUBLIC', 'PROTECTED']\""
|
||||
in: query
|
||||
required: false
|
||||
type: string
|
||||
@@ -1572,9 +1492,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: parent
|
||||
description: |-
|
||||
The parent, who owns the tags.
|
||||
Format: memos/{id}. Use "memos/-" to delete all tags.
|
||||
description: "The parent, who owns the tags.\r\nFormat: memos/{id}. Use \"memos/-\" to delete all tags."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1605,9 +1523,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: parent
|
||||
description: |-
|
||||
The parent, who owns the tags.
|
||||
Format: memos/{id}. Use "memos/-" to rename all tags.
|
||||
description: "The parent, who owns the tags.\r\nFormat: memos/{id}. Use \"memos/-\" to rename all tags."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1634,10 +1550,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: resource.name
|
||||
description: |-
|
||||
The name of the resource.
|
||||
Format: resources/{id}
|
||||
id is the system generated unique identifier.
|
||||
description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1669,9 +1582,7 @@ paths:
|
||||
format: int64
|
||||
memo:
|
||||
type: string
|
||||
title: |-
|
||||
The related memo.
|
||||
Format: memos/{id}
|
||||
title: "The related memo.\r\nFormat: memos/{id}"
|
||||
tags:
|
||||
- ResourceService
|
||||
/api/v1/{setting.name}:
|
||||
@@ -1689,9 +1600,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: setting.name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1728,9 +1637,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: user.name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1784,9 +1691,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
description: "The name of the user.\r\nFormat: users/{id}"
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -1819,10 +1724,7 @@ paths:
|
||||
$ref: '#/definitions/googlerpcStatus'
|
||||
parameters:
|
||||
- name: name
|
||||
description: |-
|
||||
The name of the resource.
|
||||
Format: resources/{id}
|
||||
id is the system generated unique identifier.
|
||||
description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@@ -2003,9 +1905,7 @@ definitions:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the identityProvider.
|
||||
Format: identityProviders/{id}
|
||||
title: "The name of the identityProvider.\r\nFormat: identityProviders/{id}"
|
||||
type:
|
||||
$ref: '#/definitions/apiv1IdentityProviderType'
|
||||
title:
|
||||
@@ -2049,9 +1949,7 @@ definitions:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
title: "The name of the user.\r\nFormat: users/{id}"
|
||||
locale:
|
||||
type: string
|
||||
description: The preferred locale of the user.
|
||||
@@ -2077,12 +1975,6 @@ definitions:
|
||||
apiv1WorkspaceGeneralSetting:
|
||||
type: object
|
||||
properties:
|
||||
disallowSignup:
|
||||
type: boolean
|
||||
description: disallow_signup is the flag to disallow signup.
|
||||
disallowPasswordLogin:
|
||||
type: boolean
|
||||
description: disallow_password_login is the flag to disallow password login.
|
||||
additionalScript:
|
||||
type: string
|
||||
description: additional_script is the additional script.
|
||||
@@ -2116,9 +2008,7 @@ definitions:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
title: |-
|
||||
name is the name of the setting.
|
||||
Format: settings/{setting}
|
||||
title: "name is the name of the setting.\r\nFormat: settings/{setting}"
|
||||
generalSetting:
|
||||
$ref: '#/definitions/apiv1WorkspaceGeneralSetting'
|
||||
storageSetting:
|
||||
@@ -2133,9 +2023,7 @@ definitions:
|
||||
description: storage_type is the storage type.
|
||||
filepathTemplate:
|
||||
type: string
|
||||
title: |-
|
||||
The template of file path.
|
||||
e.g. assets/{timestamp}_{filename}
|
||||
title: "The template of file path.\r\ne.g. assets/{timestamp}_{filename}"
|
||||
uploadSizeLimitMb:
|
||||
type: string
|
||||
format: int64
|
||||
@@ -2197,7 +2085,8 @@ definitions:
|
||||
|
||||
Note: this functionality is not currently available in the official
|
||||
protobuf release, and it is not used for type URLs beginning with
|
||||
type.googleapis.com.
|
||||
type.googleapis.com. As of May 2023, there are no widely used type server
|
||||
implementations and no plans to implement one.
|
||||
|
||||
Schemes other than `http`, `https` (or the empty scheme) might be
|
||||
used with implementation specific semantics.
|
||||
@@ -2232,7 +2121,7 @@ definitions:
|
||||
foo = any.unpack(Foo.getDefaultInstance());
|
||||
}
|
||||
|
||||
Example 3: Pack and unpack a message in Python.
|
||||
Example 3: Pack and unpack a message in Python.
|
||||
|
||||
foo = Foo(...)
|
||||
any = Any()
|
||||
@@ -2242,7 +2131,7 @@ definitions:
|
||||
any.Unpack(foo)
|
||||
...
|
||||
|
||||
Example 4: Pack and unpack a message in Go
|
||||
Example 4: Pack and unpack a message in Go
|
||||
|
||||
foo := &pb.Foo{...}
|
||||
any, err := anypb.New(foo)
|
||||
@@ -2262,7 +2151,7 @@ definitions:
|
||||
name "y.z".
|
||||
|
||||
JSON
|
||||
|
||||
====
|
||||
The JSON representation of an `Any` value uses the regular
|
||||
representation of the deserialized, embedded message, with an
|
||||
additional field `@type` which contains the type URL. Example:
|
||||
@@ -2403,9 +2292,7 @@ definitions:
|
||||
additionalProperties:
|
||||
type: integer
|
||||
format: int32
|
||||
description: |-
|
||||
stats is the stats of memo creating/updating activities.
|
||||
key is the year-month-day string. e.g. "2020-01-01".
|
||||
description: "stats is the stats of memo creating/updating activities.\r\nkey is the year-month-day string. e.g. \"2020-01-01\"."
|
||||
v1HeadingNode:
|
||||
type: object
|
||||
properties:
|
||||
@@ -2439,9 +2326,7 @@ definitions:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the inbox.
|
||||
Format: inboxes/{id}
|
||||
title: "The name of the inbox.\r\nFormat: inboxes/{id}"
|
||||
sender:
|
||||
type: string
|
||||
title: 'Format: users/{id}'
|
||||
@@ -2561,10 +2446,7 @@ definitions:
|
||||
additionalProperties:
|
||||
type: integer
|
||||
format: int32
|
||||
description: |-
|
||||
tag_amounts is the amount of tags.
|
||||
key is the tag name. e.g. "tag1".
|
||||
value is the amount of the tag.
|
||||
description: "tag_amounts is the amount of tags.\r\nkey is the tag name. e.g. \"tag1\".\r\nvalue is the amount of the tag."
|
||||
v1ListMemosResponse:
|
||||
type: object
|
||||
properties:
|
||||
@@ -2575,9 +2457,7 @@ definitions:
|
||||
$ref: '#/definitions/v1Memo'
|
||||
nextPageToken:
|
||||
type: string
|
||||
description: |-
|
||||
A token, which can be sent as `page_token` to retrieve the next page.
|
||||
If this field is omitted, there are no subsequent pages.
|
||||
description: "A token, which can be sent as `page_token` to retrieve the next page.\r\nIf this field is omitted, there are no subsequent pages."
|
||||
v1ListResourcesResponse:
|
||||
type: object
|
||||
properties:
|
||||
@@ -2625,10 +2505,7 @@ definitions:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: |-
|
||||
The name of the memo.
|
||||
Format: memos/{id}
|
||||
id is the system generated id.
|
||||
description: "The name of the memo.\r\nFormat: memos/{id}\r\nid is the system generated id."
|
||||
uid:
|
||||
type: string
|
||||
description: The user defined id of the memo.
|
||||
@@ -2636,9 +2513,7 @@ definitions:
|
||||
$ref: '#/definitions/v1RowStatus'
|
||||
creator:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the creator.
|
||||
Format: users/{id}
|
||||
title: "The name of the creator.\r\nFormat: users/{id}"
|
||||
createTime:
|
||||
type: string
|
||||
format: date-time
|
||||
@@ -2691,9 +2566,7 @@ definitions:
|
||||
readOnly: true
|
||||
parent:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the parent memo.
|
||||
Format: memos/{id}
|
||||
title: "The name of the parent memo.\r\nFormat: memos/{id}"
|
||||
readOnly: true
|
||||
v1MemoProperty:
|
||||
type: object
|
||||
@@ -2715,14 +2588,10 @@ definitions:
|
||||
properties:
|
||||
memo:
|
||||
type: string
|
||||
title: |-
|
||||
The name of memo.
|
||||
Format: "memos/{uid}"
|
||||
title: "The name of memo.\r\nFormat: \"memos/{uid}\""
|
||||
relatedMemo:
|
||||
type: string
|
||||
title: |-
|
||||
The name of related memo.
|
||||
Format: "memos/{uid}"
|
||||
title: "The name of related memo.\r\nFormat: \"memos/{uid}\""
|
||||
type:
|
||||
$ref: '#/definitions/v1MemoRelationType'
|
||||
v1MemoRelationType:
|
||||
@@ -2871,9 +2740,7 @@ definitions:
|
||||
format: int32
|
||||
creator:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the creator.
|
||||
Format: users/{id}
|
||||
title: "The name of the creator.\r\nFormat: users/{id}"
|
||||
contentId:
|
||||
type: string
|
||||
reactionType:
|
||||
@@ -2907,10 +2774,7 @@ definitions:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
description: |-
|
||||
The name of the resource.
|
||||
Format: resources/{id}
|
||||
id is the system generated unique identifier.
|
||||
description: "The name of the resource.\r\nFormat: resources/{id}\r\nid is the system generated unique identifier."
|
||||
uid:
|
||||
type: string
|
||||
description: The user defined id of the resource.
|
||||
@@ -2932,9 +2796,7 @@ definitions:
|
||||
format: int64
|
||||
memo:
|
||||
type: string
|
||||
title: |-
|
||||
The related memo.
|
||||
Format: memos/{id}
|
||||
title: "The related memo.\r\nFormat: memos/{id}"
|
||||
v1RestoreMarkdownRequest:
|
||||
type: object
|
||||
properties:
|
||||
@@ -3058,9 +2920,7 @@ definitions:
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
title: |-
|
||||
The name of the user.
|
||||
Format: users/{id}
|
||||
title: "The name of the user.\r\nFormat: users/{id}"
|
||||
id:
|
||||
type: integer
|
||||
format: int32
|
||||
@@ -3134,12 +2994,13 @@ definitions:
|
||||
properties:
|
||||
owner:
|
||||
type: string
|
||||
title: |-
|
||||
The name of instance owner.
|
||||
Format: "users/{id}"
|
||||
title: "The name of instance owner.\r\nFormat: \"users/{id}\""
|
||||
version:
|
||||
type: string
|
||||
title: version is the current version of instance
|
||||
mode:
|
||||
type: string
|
||||
description: mode is the instance mode (e.g. "prod", "dev" or "demo").
|
||||
public:
|
||||
type: boolean
|
||||
description: public is a flag that the instance is open for other users.
|
||||
|
Reference in New Issue
Block a user