REST API Agile Sprint

API request #index

GET /projests/<projects_id>/agile_sprints.xml or /projests/<projects_id>/agile_sprints.json

API request #show

GET /projests/<projects_id>/agile_sprints/<sprint_id>.xml or /projests/<projects_id>/agile_sprints/<sprint_id>.json

Example: GET demo.redmineup.com/projects/agile/agile_sprints/3.json

API request #create

POST /projects/<projects_id>/agile_sprints.json?key=<your_api_key>
  {
    "agile_sprint": {
        "name": "Sprint 46",
        "start_date": "23.07.2022",
        "end_date": "24.07.2022" 
    }
}

API request #update

PUT /projects/<projects_id>/agile_sprints/<sprint_id>.json?key=<your_api_key>
  {
    "agile_sprint": {
        "name": "New name",
    }
}

API request #destroy

DELETE /projests/<projects_id>/agile_sprints/<sprint_id>.xml or /projests/<projects_id>/agile_sprints/<sprint_id>.json

Example: DELETE demo.redmineup.com/projects/agile/agile_sprints/67.json

Was this article helpful? Yes  No
368 from 398 found this helpful