WebIssues/Web Client/Commands

From MiMec
< WebIssues‎ | Web Client
Revision as of 01:14, 26 February 2008 by Pedro (talk | contribs) (List of commans and notes)
Jump to: navigation, search

This is a list from original PROTOCOL document of cammands..

This list is basically the to do list of whats been implemented server side.

System Commands

 HELLO
   SERVER 'name' 'uuid'

Not Done

 LOGIN 'login' 'password'
   USER userId access

Partially implemented in WI_Auth

User Management

 LIST USERS
   U userId 'login' 'name' access
   M userId projectId access

Partially implemented in WI_Users

 ADD USER 'login' 'name' 'password'
   ID userId

Partially implemented in WI_User

 SET PASSWORD userId 'password'
   OK

Partially implemented in WI_User

 RENAME USER userId 'newName'

Partially implemented in WI_Users

   OK
 GRANT USER userId access
   OK
 GRANT MEMBER userId projectId access
   OK

Type Management

 LIST TYPES
   T typeId 'name'
   A attributeId typeId 'name' 'definition'
 ADD TYPE 'name'
   ID typeId
 RENAME TYPE typeId 'newName'
   OK
 DELETE TYPE typeId
   OK
 ADD ATTRIBUTE typeId 'name' 'definition'
   ID attributeId
 RENAME ATTRIBUTE attributeId 'newName'
   OK
 MODIFY ATTRIBUTE attributeId 'definition'
   OK
 DELETE ATTRIBUTE attributeId
   OK

Project Management

 LIST PROJECTS
   P projectId 'name'
   F folderId projectId 'name' typeId stamp
 ADD PROJECT 'name'
   ID projectId
 RENAME PROJECT projectId 'newName'
   OK
 DELETE PROJECT projectId
   OK
 ADD FOLDER projectId typeId 'name'
   ID folderId
 RENAME FOLDER folderId 'newName'
   OK
 DELETE FOLDER folderId
   OK

Issue Operations

 LIST ISSUES folderId sinceStamp
   I issueId folderId 'name' stamp createdDate createdUser modifiedDate modifiedUser
   V attributeId issueId 'value'
 GET DETAILS issueId sinceStamp
   I issueId folderId 'name' stamp createdDate createdUser modifiedDate modifiedUser
   V attributeId issueId 'value'
   C commentId issueId createdDate createdUser 'text'
   A attachmentId issueId 'name' createdDate createdUser size 'description'
   H changeId issueId modifiedDate modifiedUser attributeId 'oldValue' 'newValue'
 ADD ISSUE folderId 'name'
   ID issueId
 RENAME ISSUE issueId 'newName'
   ID changeId
 SET VALUE issueId attributeId 'newValue'
   ID changeId
 ADD COMMENT issueId 'text'
   ID commentId
 ADD ATTACHMENT issueId 'name' 'description'
   ID attachmentId
 GET ATTACHMENT attachmentId
   <binary response>
 FIND ITEM itemId
   ID issueId