Commit graph

81 commits

Author SHA1 Message Date
Jake Barnby
62d03199b6 Force ID as int 2026-02-25 20:44:44 +13:00
Jake Barnby
2c5806d1e7 Revert "fix: revert accidentally committed working tree changes"
This reverts commit a3503f4124.

# Conflicts:
#	composer.lock
2026-02-18 21:45:54 +13:00
Jake Barnby
a3503f4124 fix: revert accidentally committed working tree changes
Reverts composer.lock (database 5.3.0→5.2.1), Model.php TYPE_ID,
Document.php/Row.php $sequence type changes, and OpenAPI/Swagger
id type additions that were unintentionally included in dd1a3d82.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 20:58:54 +13:00
Jake Barnby
dd1a3d8222 fix: adjust testCreateIndexes index count for MongoDB maxIndexLength=1024
MongoDB's maxIndexLength (1024) allows the 512+512 index to succeed,
resulting in 5 indexes instead of 4. Use conditional count and
assertContains for position-independent key checks.

Verified: 830/830 Database tests pass locally on MongoDB with paratest.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 19:59:20 +13:00
loks0n
cb66e50612 refactor: remove magic class strings 2026-01-27 11:58:34 +00:00
Darshan
75696a21bf update: remove excluded keys from descriptions. 2026-01-15 11:56:19 +05:30
Darshan
bc6ecbd22c address comments. 2026-01-14 17:15:33 +05:30
Darshan
6cd19bf330 address comment for key values on enums. 2026-01-14 16:42:30 +05:30
Darshan
0ec515779e update: address comments.
regen: specs.
2026-01-14 15:29:30 +05:30
Darshan
91240e0ca7 update: address comments.
regen: specs.
2026-01-14 15:10:42 +05:30
Darshan
f482e6de68 update: specs generation to exclude mock auth providers. 2026-01-14 14:58:22 +05:30
Chirag Aggarwal
ae6df78020 Add int64 format support for integer attributes
This change adds int64 format specification to integer attribute min/max values in the API response models and updates all OpenAPI/Swagger specifications accordingly. This ensures proper type handling for large integer values that exceed int32 range in client SDKs.

Changes:
- Add 'format: int64' to min/max fields in AttributeInteger and ColumnInteger models
- Regenerate OpenAPI 3.x and Swagger 2.x specs for all platforms (client, console, server)
- Update composer dependencies
2026-01-13 17:00:20 +05:30
Chirag Aggarwal
c6b6b7cdac fix: edit field 2025-12-15 21:41:17 +05:30
Chirag Aggarwal
5daacb7161 Refactor Specs task for better code organization
- Extract platform, auth counts, and keys into separate methods
- Add getPlatforms(), getAuthCounts(), and getKeys() methods
- Extract SDK platform logic into getSDKPlatformsForRouteSecurity()
- Add PHPDoc comments with proper type hints
- Move constructor to top of class for better readability
2025-12-14 11:21:44 +05:30
Chirag Aggarwal
aa12ef6569 Add public visibility control for deprecated methods
- Add 'public' parameter to SDK Method class to control documentation visibility
- Mark deprecated methods as non-public (public: false) to hide them from docs
- Update OpenAPI and Swagger specs to reflect visibility changes
- Affected endpoints: account verification, messaging providers, and MFA authenticators
2025-12-11 13:53:34 +05:30
Chirag Aggarwal
68ffa5258c fix: roles enum 2025-12-03 12:04:30 +05:30
Chirag Aggarwal
8fe1ec48d0 chore: browser permissions enum 2025-12-03 09:28:39 +05:30
Chirag Aggarwal
aaafdaae52 chore: better examples 2025-12-01 19:21:49 +05:30
Chirag Aggarwal
3bbd87ecb2 fix: openapi too 2025-11-13 16:05:27 +05:30
Jake Barnby
97f76899bf
Merge remote-tracking branch 'origin/1.8.x' into feat-txn
# Conflicts:
#	app/config/platforms.php
2025-09-25 18:00:07 +12:00
Chirag Aggarwal
84a4ef0baf chore: include response model enum names 2025-09-23 10:47:39 +05:30
Chirag Aggarwal
f9ac0b48c8 fix: use 1.8.x 2025-09-15 10:28:34 +05:30
Jake Barnby
fd6ddf6926
Fix operation spec gen 2025-09-11 23:31:53 +12:00
ArnabChatterjee20k
ac443e3b98 updated database version , sdk version and docs example in openapi with spatial 2025-09-08 23:30:28 +05:30
ArnabChatterjee20k
8f90774540 updated open api and swagger parser for the array of any type 2025-09-05 20:51:15 +05:30
ArnabChatterjee20k
28f7161964 updated example for the specs to have string instead of arrays to solve error during sdk gen 2025-09-05 20:38:46 +05:30
ArnabChatterjee20k
79fcfff4f4 updated specs 2025-09-05 20:04:56 +05:30
ArnabChatterjee20k
ca87bd2237 updated specs 2025-09-05 19:16:26 +05:30
ArnabChatterjee20k
55b68e45e4 pr followups 2025-09-05 18:35:09 +05:30
ArnabChatterjee20k
c2f61c1998 updated specs 2025-09-05 18:26:07 +05:30
ArnabChatterjee20k
3b0d02e9b0 updated the spatial specs 2025-09-05 18:13:51 +05:30
ArnabChatterjee20k
97a28878ca Merge remote-tracking branch 'upstream/1.8.x' into spatial-type-attributes 2025-09-05 16:16:48 +05:30
ArnabChatterjee20k
4ed42d3304 updated request and response model 2025-09-05 16:15:17 +05:30
Chirag Aggarwal
a47d581eea fix: specs 2025-09-04 22:45:46 +05:30
Chirag Aggarwal
27e2ec04ee chore: keep it as a json string 2025-09-04 16:59:27 +05:30
Chirag Aggarwal
8a734293f0 feat: add requestBody param examples in specs 2025-09-04 10:22:51 +05:30
Chirag Aggarwal
c26e28d5a6 fix: namespace naming from tables-db to tablesdb in specs 2025-08-27 19:04:37 +05:30
Luke B. Silver
9fc39ddfce
Merge pull request #10377 from appwrite/add-deprecated-versions-account
chore: add replacewith and deprecated since to account methods
2025-08-26 16:45:55 +01:00
Jake Barnby
34658aac9b
Fix demo paths 2025-08-27 01:09:34 +12:00
Chirag Aggarwal
53f778dc12 remove instance of 2025-08-26 17:43:11 +05:30
Chirag Aggarwal
5a35f1313b fix: version, remove boolean 2025-08-26 17:33:49 +05:30
Jake Barnby
855771bb6c
Fix specs 2025-08-20 01:23:11 +12:00
Jake Barnby
34709912bf
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	src/Appwrite/SDK/Specification/Format/OpenAPI3.php
2025-08-14 00:20:16 +12:00
Chirag Aggarwal
5f3dc7cb75 chore: add method desc and demo 2025-08-13 15:16:48 +05:30
Jake Barnby
89197e0f9e
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/swagger2-latest-console.json
#	composer.lock
2025-08-09 01:12:18 +12:00
Chirag Aggarwal
bf6bbfa058 update casing 2025-08-08 16:40:12 +05:30
Chirag Aggarwal
b464a3d7a2 fix: lint 2025-08-08 13:39:25 +05:30
Chirag Aggarwal
c9691be34a chore: add readonly param to sequence, databaseId and collectionId 2025-08-08 12:53:58 +05:30
Jake Barnby
bd4fb03b74
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	app/config/specs/open-api3-latest-client.json
#	app/config/specs/open-api3-latest-console.json
#	app/config/specs/open-api3-latest-server.json
#	app/config/specs/swagger2-latest-client.json
#	app/config/specs/swagger2-latest-console.json
#	app/config/specs/swagger2-latest-server.json
#	app/controllers/api/databases.php
#	composer.lock
#	tests/e2e/Services/Databases/Legacy/DatabasesBase.php
#	tests/e2e/Services/Migrations/MigrationsBase.php
2025-08-06 17:24:00 +12:00
Chirag Aggarwal
b3ba91cd52 chore: update naming and specs 2025-08-01 15:26:34 +05:30