Skip to content

Some API parameters are not in camelCase  #303

Closed

Description

@bartektartanus

Currently in API there are 3 methods that uses order type parameter. Two are named orderType and one is order-type which is inconsistent.
GET/storage/files has orderType
GET/database/collections/{collectionId}/documents has order-type
I think this should be fixed to orderType as most of the parameters are written in camelCase.
Other parameters are: order-field, order-cast, old-password, password-a, password-b.

Activity

  1. eldadfux commented on Mar 25, 2020

    @eldadfux
    Member

    This is a really bad API design issue and we'll push a fix for version 0.6. This will be introduced as an API breaking change. It should not affect users of Appwrite SDKs, but new versions of all SDKs will be pushed anyway.

  2. self-assigned this
    on Mar 25, 2020
  3. added
    bug
    on Mar 25, 2020
  4. eldadfux commented on Apr 13, 2020

    @eldadfux
    Member

    This is fixed now, will be released in next version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions