•  
     
    story #5648 OPTIONS|GET /milestones/:id/cardwall
Summary
Empty
OPTIONS|GET /milestones/:id/cardwall
Empty

https://tuleap.net/wiki/index.php?pagename=REST%20API%2FCardwall&group_id=101 

 

{
  "columns": [              // Renamed from status_list to columns, since the "status" term may be misleading
    {
      "id": <int>,
      "label": <string>,
      "color": <string>     // Color as a string, format "#FFAAEE", exactly 6 hex digits preceded by a hash sign
    }
  ],
  "swimlanes": [
    {
      "cards": [<Card>]
    }
  ]
}

Card definition:

{
  "id"            : <int>,               // The card id, not-null, read-only
  "label"         : <string>,            // The label, not-null(?), read-write
  "uri"           : <string>,            // The card RESt URI, not-null, read-only
  "project"       : <Reference>,         // not-null, read-only, Probably the same as the backlog item & the cardwall's milestone
  "artifact"      : <ArtifactReference>, // not-null, read-only, the artifact this bi represents

  // Card-specific
  "status"        : "Open"|"Closed"      // The status of the card
  "accent_color"  : <string>,            // Color as a string, format "#FFAAEE", exactly 6 hex digits preceded by a hash sign
  "column_id"     : <int>,               // nullable, if not null value is one of the IDs in cardwall's "columns" list
                                         // if null, the card is displayed on the left column, which has no id. It cannot be dragged elsewhere
                                         // if not null, it can be dragged to allowed columns
  "allowed_column_ids" : [<int>]         // Allowed columns, never null but possibly empty

  // The following list of values is a subset of the card's artifact values
  // Only fields to display on the card are transmitted
  "values" : [                           // not-null (but can be an empty list), read-write
        {
          "field" : {
                "id" : <int>,
                "label" : <string>
          },
          "value" : <string>,           // (cf tracker/field definition) only one of the following (value/bind_value_id/bind_value_ids/file_descriptions/links)
          "bind_value_id": <int>,
          "bind_value_ids": [
                <int>
          ],
          "file_descriptions": [
                {
                  "file_id": <int>,
                  "submitted_by": <int>,
                  "description": <string>,
                  "name": <string>,
                  "size": <int>,
                  "type": <string>
                }
          ],
          "links": [<ArtifactReference>]
          ]
        }
  ]
}
Empty
Empty
Status
Empty
Done
Development
  • [ ] Does it involves User Interface? 
  • [ ] Are there any mockups?
  • [ ] Are permissions checked?
  • [ ] Does it need Javascript development?
  • [ ] Does it need a forge upgrade bucket?
  • [ ] Does it need to execute things in system events?
  • [ ] Does it impact project creation (templates)?
  • [ ] Is it exploratory?
Empty
Details
#5648
Nicolas Terray (nterray)
2014-01-03 15:22
2013-11-27 12:03
3170

References
Referencing story #5648
Referenced by story #5648

Follow-ups

User avatar
Martin GOYOT (goyotm)2013-12-17 11:47
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
  • Acceptance criteria
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes
User avatar
  • So that
    Something went wrong, the follow up content couldn't be loaded
    Only formatting have been changed, you should switch to markup to see the changes