New API #6

Closed
opened 2021-02-24 02:58:22 +00:00 by jolheiser · 1 comment
jolheiser commented 2021-02-24 02:58:22 +00:00 (Migrated from gitea.com)

The current API is not a very friendly UX.

  1. Ditch /export and instead including the package list in the base / endpoint.

  2. Remove the /package sub-URL and make each package a direct sub-URL.
    This makes UX easier to "guess" because a package nicknamed cli would be at /cli.

The current API is not a very friendly UX. 1. Ditch `/export` and instead including the package list in the base `/` endpoint. 2. Remove the `/package` sub-URL and make each package a direct sub-URL. This makes UX easier to "guess" because a package nicknamed `cli` would be at `/cli`.
jolheiser commented 2021-02-24 03:02:45 +00:00 (Migrated from gitea.com)
  1. Login functionality, followed by
    • Adding packages, error if it exists
    • Removing packages, idempotent
    • Updating packages, idempotent
3. Login functionality, followed by * Adding packages, error if it exists * Removing packages, idempotent * Updating packages, idempotent
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jolheiser/gpm#6
There is no content yet.