refactor webapi #118

Closed
opened 2007-08-20 19:50:33 +00:00 by zooko · 3 comments

I would like to change the web API in some of the following ways. I'm not absolutely sure that this is exactly the way to do it, or that there aren't other changes that will suggest themselves as the v0.5 version gets more use.

The following ideas were already posted to the mailing list in this message:

http://allmydata.org/pipermail/tahoe-dev/2007-August/000101.html

My proposed new webapi is attached as a text file to this ticket.

  • The big change: unify discussion of name-based and uri-based commands, and expect the reader to understand both at once, and refactor the document to have six use-case-oriented sections.
  • Include a read-write uri (if available) in the metadata instead of by a separate API call.
  • Signal mutability by the presence of a RW URI instead of by a separate "mutable" bool.
  • add ?overwrite={True,False} for the name-adding commands

See also: a couple of other tickets about changes to webAPI:

#89, #98, #102

I would like to change the web API in some of the following ways. I'm not absolutely sure that this is exactly the way to do it, or that there aren't other changes that will suggest themselves as the v0.5 version gets more use. The following ideas were already posted to the mailing list in this message: <http://allmydata.org/pipermail/tahoe-dev/2007-August/000101.html> My proposed new webapi is attached as a text file to this ticket. * The big change: unify discussion of name-based and uri-based commands, and expect the reader to understand both at once, and refactor the document to have six use-case-oriented sections. * Include a read-write uri (if available) in the metadata instead of by a separate API call. * Signal mutability by the presence of a RW URI instead of by a separate "mutable" bool. * add `?overwrite={True,False`} for the name-adding commands See also: a couple of other tickets about changes to webAPI: #89, #98, #102
zooko added the
code-frontend-web
major
enhancement
0.5.0
labels 2007-08-20 19:50:33 +00:00
zooko added this to the 0.6.0 milestone 2007-08-20 19:50:33 +00:00
zooko self-assigned this 2007-08-20 19:50:33 +00:00
Author

Attachment webapi-new.txt (17822 bytes) added

webapi-new.txt

**Attachment** webapi-new.txt (17822 bytes) added webapi-new.txt

Attachment webapi.warner1.diff (6694 bytes) added

my proposed changes to the new version

**Attachment** webapi.warner1.diff (6694 bytes) added my proposed changes to the new version
Author

This was done for v0.5.1 release.

This was done for v0.5.1 release.
zooko added the
fixed
label 2007-09-09 14:27:07 +00:00
zooko closed this issue 2007-09-09 14:27:07 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#118
No description provided.