From e985fecbc3b09cec198d63f7614a85d7c5c22cec Mon Sep 17 00:00:00 2001 From: Mustaque Ahmed Date: Wed, 15 Oct 2025 20:18:12 +0530 Subject: [PATCH] feat: add specs file --- app/config/specs/open-api3-latest-client.json | 42 ++++++++++----- .../specs/open-api3-latest-console.json | 54 ++++++++++++------- app/config/specs/open-api3-latest-server.json | 54 ++++++++++++------- app/config/specs/swagger2-latest-client.json | 42 ++++++++++----- app/config/specs/swagger2-latest-console.json | 54 ++++++++++++------- app/config/specs/swagger2-latest-server.json | 54 ++++++++++++------- 6 files changed, 204 insertions(+), 96 deletions(-) diff --git a/app/config/specs/open-api3-latest-client.json b/app/config/specs/open-api3-latest-client.json index b6a6a1afe3..eb1503a1c8 100644 --- a/app/config/specs/open-api3-latest-client.json +++ b/app/config/specs/open-api3-latest-client.json @@ -8084,7 +8084,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client", @@ -8149,7 +8152,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -8217,7 +8223,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client", @@ -8279,7 +8288,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -8355,7 +8367,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -8419,7 +8434,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -11074,7 +11092,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -11096,7 +11114,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ] } }, @@ -11145,7 +11163,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -11167,7 +11185,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "username": "john.doe", "email": "john.doe@example.com", @@ -12209,7 +12227,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "name": { @@ -12265,7 +12283,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "name": "Pink.png", "signature": "5d529fd02b544198ae075bd57c1762bb", diff --git a/app/config/specs/open-api3-latest-console.json b/app/config/specs/open-api3-latest-console.json index c086fe03d0..c5c8cb4efd 100644 --- a/app/config/specs/open-api3-latest-console.json +++ b/app/config/specs/open-api3-latest-console.json @@ -33476,7 +33476,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client", @@ -33541,7 +33544,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -33609,7 +33615,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client", @@ -33671,7 +33680,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -33747,7 +33759,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -33811,7 +33826,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -47413,7 +47431,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -47510,7 +47528,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Collection", @@ -48862,7 +48880,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -48959,7 +48977,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Table", @@ -50517,7 +50535,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -50539,7 +50557,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ] } }, @@ -50588,7 +50606,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -50610,7 +50628,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "username": "john.doe", "email": "john.doe@example.com", @@ -51652,7 +51670,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "name": { @@ -51708,7 +51726,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "name": "Pink.png", "signature": "5d529fd02b544198ae075bd57c1762bb", @@ -51744,7 +51762,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "fileSecurity": { @@ -51814,7 +51832,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "fileSecurity": true, "name": "Documents", diff --git a/app/config/specs/open-api3-latest-server.json b/app/config/specs/open-api3-latest-server.json index 49adaeeefa..414aefb607 100644 --- a/app/config/specs/open-api3-latest-server.json +++ b/app/config/specs/open-api3-latest-server.json @@ -23996,7 +23996,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client", @@ -24063,7 +24066,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -24133,7 +24139,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client", @@ -24197,7 +24206,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -24275,7 +24287,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -24341,7 +24356,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client", @@ -36308,7 +36326,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -36405,7 +36423,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Collection", @@ -37757,7 +37775,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -37854,7 +37872,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Table", @@ -39412,7 +39430,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -39434,7 +39452,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ] } }, @@ -39483,7 +39501,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -39505,7 +39523,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "username": "john.doe", "email": "john.doe@example.com", @@ -40547,7 +40565,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "name": { @@ -40603,7 +40621,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "name": "Pink.png", "signature": "5d529fd02b544198ae075bd57c1762bb", @@ -40639,7 +40657,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "fileSecurity": { @@ -40709,7 +40727,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "fileSecurity": true, "name": "Documents", diff --git a/app/config/specs/swagger2-latest-client.json b/app/config/specs/swagger2-latest-client.json index 89fc5e7e5c..16b11a86ff 100644 --- a/app/config/specs/swagger2-latest-client.json +++ b/app/config/specs/swagger2-latest-client.json @@ -8161,7 +8161,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client" @@ -8226,7 +8229,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -8294,7 +8300,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client" @@ -8355,7 +8364,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -8432,7 +8444,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -8495,7 +8510,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -11061,7 +11079,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -11083,7 +11101,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ] } }, @@ -11132,7 +11150,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -11154,7 +11172,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "username": "john.doe", "email": "john.doe@example.com", @@ -12198,7 +12216,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "name": { @@ -12254,7 +12272,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "name": "Pink.png", "signature": "5d529fd02b544198ae075bd57c1762bb", diff --git a/app/config/specs/swagger2-latest-console.json b/app/config/specs/swagger2-latest-console.json index 098f138b30..b6f60fc24e 100644 --- a/app/config/specs/swagger2-latest-console.json +++ b/app/config/specs/swagger2-latest-console.json @@ -33595,7 +33595,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client" @@ -33660,7 +33663,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -33728,7 +33734,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client" @@ -33789,7 +33798,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -33866,7 +33878,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -33929,7 +33944,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -47334,7 +47352,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -47432,7 +47450,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Collection", @@ -48784,7 +48802,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -48882,7 +48900,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Table", @@ -50440,7 +50458,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -50462,7 +50480,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ] } }, @@ -50511,7 +50529,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -50533,7 +50551,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "username": "john.doe", "email": "john.doe@example.com", @@ -51577,7 +51595,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "name": { @@ -51633,7 +51651,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "name": "Pink.png", "signature": "5d529fd02b544198ae075bd57c1762bb", @@ -51669,7 +51687,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "fileSecurity": { @@ -51739,7 +51757,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "fileSecurity": true, "name": "Documents", diff --git a/app/config/specs/swagger2-latest-server.json b/app/config/specs/swagger2-latest-server.json index 9c8ef73243..abf0218191 100644 --- a/app/config/specs/swagger2-latest-server.json +++ b/app/config/specs/swagger2-latest-server.json @@ -24171,7 +24171,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client" @@ -24238,7 +24241,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -24308,7 +24314,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.read", + "scope": [ + "documents.read", + "rows.read" + ], "platforms": [ "server", "client" @@ -24371,7 +24380,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -24450,7 +24462,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -24515,7 +24530,10 @@ "rate-limit": 0, "rate-time": 3600, "rate-key": "url:{url},ip:{ip}", - "scope": "rows.write", + "scope": [ + "documents.write", + "rows.write" + ], "platforms": [ "server", "client" @@ -36323,7 +36341,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -36421,7 +36439,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Collection", @@ -37773,7 +37791,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "databaseId": { @@ -37871,7 +37889,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "databaseId": "5e5ea5c16897e", "name": "My Table", @@ -39429,7 +39447,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -39451,7 +39469,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ] } }, @@ -39500,7 +39518,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] } }, @@ -39522,7 +39540,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "username": "john.doe", "email": "john.doe@example.com", @@ -40566,7 +40584,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "name": { @@ -40622,7 +40640,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "name": "Pink.png", "signature": "5d529fd02b544198ae075bd57c1762bb", @@ -40658,7 +40676,7 @@ "type": "string" }, "x-example": [ - "read(\"any\")" + "read('any')" ] }, "fileSecurity": { @@ -40728,7 +40746,7 @@ "$createdAt": "2020-10-15T06:38:00.000+00:00", "$updatedAt": "2020-10-15T06:38:00.000+00:00", "$permissions": [ - "read(\"any\")" + "read('any')" ], "fileSecurity": true, "name": "Documents",