Browse Source

Merge pull request #147 from provokateurin/fix/capabilities

specs,nextcloud: Allow unknow capability keys at every level
pull/148/head
Kate 2 years ago committed by GitHub
parent
commit
fdfb10884f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 88
      packages/nextcloud/lib/src/nextcloud.openapi.dart
  2. 851
      packages/nextcloud/lib/src/nextcloud.openapi.g.dart
  3. 44
      packages/nextcloud/lib/src/nextcloud.openapi.json
  4. 44
      specs/core.json

88
packages/nextcloud/lib/src/nextcloud.openapi.dart

@ -1373,7 +1373,7 @@ class CoreServerCapabilities_Ocs_Data_Version {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Version data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Core {
CoreServerCapabilities_Ocs_Data_Capabilities_Core({
required this.pollinterval,
@ -1406,7 +1406,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Core {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Core data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce {
CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce({required this.delay});
@ -1426,7 +1426,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Bruteforce {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable {
CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable({
required this.size,
@ -1452,7 +1452,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_MetadataAvailable {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing {
CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing({
required this.url,
@ -1478,7 +1478,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Files_DirectEditing {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Files {
CoreServerCapabilities_Ocs_Data_Capabilities_Files({
required this.bigfilechunking,
@ -1515,7 +1515,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Files {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Files data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Activity {
CoreServerCapabilities_Ocs_Data_Capabilities_Activity({required this.apiv2});
@ -1534,7 +1534,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Activity {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Activity data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status({required this.globalScale});
@ -1554,7 +1554,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Status {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings({
required this.frontendEnabled,
@ -1585,7 +1585,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Settings {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Source({
required this.core,
@ -1613,7 +1613,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants_Sour
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants({
required this.flags,
@ -1639,7 +1639,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Constants {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config({
required this.coreFlags,
@ -1665,7 +1665,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle_Config {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle({
required this.constants,
@ -1690,7 +1690,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Circle {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants({required this.level});
@ -1711,7 +1711,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member_Constants {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member({
required this.constants,
@ -1736,7 +1736,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles_Member {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Circles {
CoreServerCapabilities_Ocs_Data_Capabilities_Circles({
required this.version,
@ -1769,7 +1769,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Circles {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Circles data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols {
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols({required this.webdav});
@ -1792,7 +1792,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes_Protocols {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes {
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes({
required this.name,
@ -1821,7 +1821,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm_ResourceTypes {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm {
CoreServerCapabilities_Ocs_Data_Capabilities_Ocm({
required this.enabled,
@ -1851,7 +1851,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Ocm {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Ocm data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Dav {
CoreServerCapabilities_Ocs_Data_Capabilities_Dav({
this.bulkupload,
@ -1875,7 +1875,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Dav {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Dav data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password({
required this.enforced,
@ -1903,7 +1903,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_Password
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDate({required this.enabled});
@ -1926,7 +1926,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDat
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateInternal({required this.enabled});
@ -1951,7 +1951,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDat
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDateRemote({required this.enabled});
@ -1975,7 +1975,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public_ExpireDat
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public({
required this.enabled,
@ -2028,7 +2028,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Public {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate({required this.enabled});
@ -2051,7 +2051,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User_ExpireDate
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User({
required this.sendMail,
@ -2079,7 +2079,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_User {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate({required this.enabled});
@ -2102,7 +2102,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group_ExpireDate
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group({
required this.enabled,
@ -2129,7 +2129,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Group {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDate({required this.enabled});
@ -2152,7 +2152,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Expir
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_ExpireDateSupported({required this.enabled});
@ -2177,7 +2177,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation_Expir
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation({
required this.outgoing,
@ -2211,7 +2211,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Federation {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee({
required this.queryLookupDefault,
@ -2239,7 +2239,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharee {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_UploadFilesDrop({required this.enabled});
@ -2264,7 +2264,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Uplo
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Password({
required this.enabled,
@ -2292,7 +2292,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Pass
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_ExpireDate({
required this.enabled,
@ -2321,7 +2321,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail_Expi
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail({
required this.enabled,
@ -2359,7 +2359,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing_Sharebymail {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing {
CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing({
required this.apiEnabled,
@ -2411,7 +2411,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_FilesSharing {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Notes {
CoreServerCapabilities_Ocs_Data_Capabilities_Notes({
required this.apiVersion,
@ -2436,7 +2436,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Notes {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Notes data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Notifications {
CoreServerCapabilities_Ocs_Data_Capabilities_Notifications({
required this.ocsEndpoints,
@ -2466,7 +2466,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Notifications {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api {
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api({
required this.generate,
@ -2492,7 +2492,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy_Api {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy {
CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy({
required this.minLength,
@ -2529,7 +2529,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_PasswordPolicy {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi {
CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi({
required this.version,
@ -2563,7 +2563,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_ProvisioningApi {
json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_Theming {
CoreServerCapabilities_Ocs_Data_Capabilities_Theming({
required this.name,
@ -2629,7 +2629,7 @@ class CoreServerCapabilities_Ocs_Data_Capabilities_Theming {
static String toJsonString(CoreServerCapabilities_Ocs_Data_Capabilities_Theming data) => json.encode(data.toJson());
}
@JsonSerializable()
@JsonSerializable(disallowUnrecognizedKeys: false)
class CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus {
CoreServerCapabilities_Ocs_Data_Capabilities_UserStatus({
required this.enabled,

851
packages/nextcloud/lib/src/nextcloud.openapi.g.dart

File diff suppressed because it is too large Load Diff

44
packages/nextcloud/lib/src/nextcloud.openapi.json

@ -202,6 +202,7 @@
"properties": {
"core": {
"type": "object",
"additionalProperties": true,
"required": [
"pollinterval",
"webdav-root",
@ -225,6 +226,7 @@
},
"bruteforce": {
"type": "object",
"additionalProperties": true,
"required": [
"delay"
],
@ -236,6 +238,7 @@
},
"metadataAvailable": {
"type": "object",
"additionalProperties": true,
"required": [
"size",
"gps"
@ -257,6 +260,7 @@
},
"files": {
"type": "object",
"additionalProperties": true,
"required": [
"bigfilechunking",
"blacklisted_files",
@ -277,6 +281,7 @@
},
"directEditing": {
"type": "object",
"additionalProperties": true,
"required": [
"url",
"etag"
@ -303,6 +308,7 @@
},
"activity": {
"type": "object",
"additionalProperties": true,
"required": [
"apiv2"
],
@ -317,6 +323,7 @@
},
"circles": {
"type": "object",
"additionalProperties": true,
"required": [
"version",
"status",
@ -330,6 +337,7 @@
},
"status": {
"type": "object",
"additionalProperties": true,
"required": [
"globalScale"
],
@ -341,6 +349,7 @@
},
"settings": {
"type": "object",
"additionalProperties": true,
"required": [
"frontendEnabled",
"allowedCircles",
@ -364,6 +373,7 @@
},
"circle": {
"type": "object",
"additionalProperties": true,
"required": [
"constants",
"config"
@ -371,6 +381,7 @@
"properties": {
"constants": {
"type": "object",
"additionalProperties": true,
"required": [
"flags",
"source"
@ -381,6 +392,7 @@
},
"source": {
"type": "object",
"additionalProperties": true,
"required": [
"core",
"extra"
@ -398,6 +410,7 @@
},
"config": {
"type": "object",
"additionalProperties": true,
"required": [
"coreFlags",
"systemFlags"
@ -421,6 +434,7 @@
},
"member": {
"type": "object",
"additionalProperties": true,
"required": [
"constants",
"type"
@ -428,6 +442,7 @@
"properties": {
"constants": {
"type": "object",
"additionalProperties": true,
"required": [
"level"
],
@ -446,6 +461,7 @@
},
"ocm": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"apiVersion",
@ -466,6 +482,7 @@
"type": "array",
"items": {
"type": "object",
"additionalProperties": true,
"required": [
"name",
"shareTypes",
@ -483,6 +500,7 @@
},
"protocols": {
"type": "object",
"additionalProperties": true,
"required": [
"webdav"
],
@ -499,6 +517,7 @@
},
"dav": {
"type": "object",
"additionalProperties": true,
"required": [
"chunking"
],
@ -513,6 +532,7 @@
},
"files_sharing": {
"type": "object",
"additionalProperties": true,
"required": [
"api_enabled",
"public",
@ -531,6 +551,7 @@
},
"public": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"password",
@ -548,6 +569,7 @@
},
"password": {
"type": "object",
"additionalProperties": true,
"required": [
"enforced",
"askForOptionalPassword"
@ -563,6 +585,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -577,6 +600,7 @@
},
"expire_date_internal": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -588,6 +612,7 @@
},
"expire_date_remote": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -613,6 +638,7 @@
},
"user": {
"type": "object",
"additionalProperties": true,
"required": [
"send_mail",
"expire_date"
@ -623,6 +649,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -639,6 +666,7 @@
},
"group": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"expire_date"
@ -649,6 +677,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -665,6 +694,7 @@
},
"federation": {
"type": "object",
"additionalProperties": true,
"required": [
"outgoing",
"incoming",
@ -680,6 +710,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -691,6 +722,7 @@
},
"expire_date_supported": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -704,6 +736,7 @@
},
"sharee": {
"type": "object",
"additionalProperties": true,
"required": [
"query_lookup_default",
"always_show_unique"
@ -719,6 +752,7 @@
},
"sharebymail": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"send_password_by_mail",
@ -735,6 +769,7 @@
},
"upload_files_drop": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -746,6 +781,7 @@
},
"password": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"enforced"
@ -761,6 +797,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"enforced"
@ -780,6 +817,7 @@
},
"notes": {
"type": "object",
"additionalProperties": true,
"required": [
"api_version",
"version"
@ -798,6 +836,7 @@
},
"notifications": {
"type": "object",
"additionalProperties": true,
"required": [
"ocs-endpoints",
"push",
@ -826,6 +865,7 @@
},
"password_policy": {
"type": "object",
"additionalProperties": true,
"required": [
"minLength",
"enforceNonCommonPassword",
@ -852,6 +892,7 @@
},
"api": {
"type": "object",
"additionalProperties": true,
"required": [
"generate",
"validate"
@ -869,6 +910,7 @@
},
"provisioning_api": {
"type": "object",
"additionalProperties": true,
"required": [
"version",
"AccountPropertyScopesVersion",
@ -892,6 +934,7 @@
},
"theming": {
"type": "object",
"additionalProperties": true,
"required": [
"name",
"url",
@ -955,6 +998,7 @@
},
"user_status": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"supports_emoji"

44
specs/core.json

@ -188,6 +188,7 @@
"properties": {
"core": {
"type": "object",
"additionalProperties": true,
"required": [
"pollinterval",
"webdav-root",
@ -211,6 +212,7 @@
},
"bruteforce": {
"type": "object",
"additionalProperties": true,
"required": [
"delay"
],
@ -222,6 +224,7 @@
},
"metadataAvailable": {
"type": "object",
"additionalProperties": true,
"required": [
"size",
"gps"
@ -243,6 +246,7 @@
},
"files": {
"type": "object",
"additionalProperties": true,
"required": [
"bigfilechunking",
"blacklisted_files",
@ -263,6 +267,7 @@
},
"directEditing": {
"type": "object",
"additionalProperties": true,
"required": [
"url",
"etag"
@ -289,6 +294,7 @@
},
"activity": {
"type": "object",
"additionalProperties": true,
"required": [
"apiv2"
],
@ -303,6 +309,7 @@
},
"circles": {
"type": "object",
"additionalProperties": true,
"required": [
"version",
"status",
@ -316,6 +323,7 @@
},
"status": {
"type": "object",
"additionalProperties": true,
"required": [
"globalScale"
],
@ -327,6 +335,7 @@
},
"settings": {
"type": "object",
"additionalProperties": true,
"required": [
"frontendEnabled",
"allowedCircles",
@ -350,6 +359,7 @@
},
"circle": {
"type": "object",
"additionalProperties": true,
"required": [
"constants",
"config"
@ -357,6 +367,7 @@
"properties": {
"constants": {
"type": "object",
"additionalProperties": true,
"required": [
"flags",
"source"
@ -367,6 +378,7 @@
},
"source": {
"type": "object",
"additionalProperties": true,
"required": [
"core",
"extra"
@ -384,6 +396,7 @@
},
"config": {
"type": "object",
"additionalProperties": true,
"required": [
"coreFlags",
"systemFlags"
@ -407,6 +420,7 @@
},
"member": {
"type": "object",
"additionalProperties": true,
"required": [
"constants",
"type"
@ -414,6 +428,7 @@
"properties": {
"constants": {
"type": "object",
"additionalProperties": true,
"required": [
"level"
],
@ -432,6 +447,7 @@
},
"ocm": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"apiVersion",
@ -452,6 +468,7 @@
"type": "array",
"items": {
"type": "object",
"additionalProperties": true,
"required": [
"name",
"shareTypes",
@ -469,6 +486,7 @@
},
"protocols": {
"type": "object",
"additionalProperties": true,
"required": [
"webdav"
],
@ -485,6 +503,7 @@
},
"dav": {
"type": "object",
"additionalProperties": true,
"required": [
"chunking"
],
@ -499,6 +518,7 @@
},
"files_sharing": {
"type": "object",
"additionalProperties": true,
"required": [
"api_enabled",
"public",
@ -517,6 +537,7 @@
},
"public": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"password",
@ -534,6 +555,7 @@
},
"password": {
"type": "object",
"additionalProperties": true,
"required": [
"enforced",
"askForOptionalPassword"
@ -549,6 +571,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -563,6 +586,7 @@
},
"expire_date_internal": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -574,6 +598,7 @@
},
"expire_date_remote": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -599,6 +624,7 @@
},
"user": {
"type": "object",
"additionalProperties": true,
"required": [
"send_mail",
"expire_date"
@ -609,6 +635,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -625,6 +652,7 @@
},
"group": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"expire_date"
@ -635,6 +663,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -651,6 +680,7 @@
},
"federation": {
"type": "object",
"additionalProperties": true,
"required": [
"outgoing",
"incoming",
@ -666,6 +696,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -677,6 +708,7 @@
},
"expire_date_supported": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -690,6 +722,7 @@
},
"sharee": {
"type": "object",
"additionalProperties": true,
"required": [
"query_lookup_default",
"always_show_unique"
@ -705,6 +738,7 @@
},
"sharebymail": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"send_password_by_mail",
@ -721,6 +755,7 @@
},
"upload_files_drop": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled"
],
@ -732,6 +767,7 @@
},
"password": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"enforced"
@ -747,6 +783,7 @@
},
"expire_date": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"enforced"
@ -766,6 +803,7 @@
},
"notes": {
"type": "object",
"additionalProperties": true,
"required": [
"api_version",
"version"
@ -784,6 +822,7 @@
},
"notifications": {
"type": "object",
"additionalProperties": true,
"required": [
"ocs-endpoints",
"push",
@ -812,6 +851,7 @@
},
"password_policy": {
"type": "object",
"additionalProperties": true,
"required": [
"minLength",
"enforceNonCommonPassword",
@ -838,6 +878,7 @@
},
"api": {
"type": "object",
"additionalProperties": true,
"required": [
"generate",
"validate"
@ -855,6 +896,7 @@
},
"provisioning_api": {
"type": "object",
"additionalProperties": true,
"required": [
"version",
"AccountPropertyScopesVersion",
@ -878,6 +920,7 @@
},
"theming": {
"type": "object",
"additionalProperties": true,
"required": [
"name",
"url",
@ -941,6 +984,7 @@
},
"user_status": {
"type": "object",
"additionalProperties": true,
"required": [
"enabled",
"supports_emoji"

Loading…
Cancel
Save