HomeAPIProjectsList

2.1. List

URL: /projects

Example Request:

curl http://your-testcollab-url.com/index.php/projects.json?API_KEY=yourapikey

Example Response:

{
    "data": {
       "paging":{"page":1,"count":5,"limit":"10","pageCount":1},
       "projects": [
            {
                "Project": {
                    "created": "2011-04-14 18:11:27",
                    "generalMetrics": {
                        "avgExecutionTime": 430,
                        "avgExecutionTimeLabel": "7 minutes 10 seconds",
                        "defectsCount": 0,
                        "executionCasesCount": 21,
                        "executionCount": 4,
                        "passPercentage": 33.93,
                        "passedCasesCount": 13,
                        "testCasesCount": 7,
                        "totalTestSuites": 3,
                        "totalTimeSpent": 3022,
                        "totalTimeSpentLabel": "50 minutes 22 seconds"
                    },
                    "id": "1",
                    "is_archived": "0",
                    "issue_manager_project_id": "",
                    "lastActivity": {
                        "ActivityLog": {
                            "created": "2012-07-11 14:53:11",
                            "entity": "ExecutionCaseLog",
                            "entity_id": "59",
                            "id": "144",
                            "params": [],
                            "project_id": "1",
                            "type": "executionCaseAction",
                            "user_id": "1"
                        }
                    },
                    "name": "Sample 1",
                    "status": "0",
                    "user_id": "1"
                }
            },
            {
                "Project": {
                    "created": "2011-04-14 19:05:09",
                    "generalMetrics": {
                        "avgExecutionTime": 1057,
                        "avgExecutionTimeLabel": "17 minutes 37 seconds",
                        "defectsCount": 0,
                        "executionCasesCount": 24,
                        "executionCount": 4,
                        "passPercentage": 69.05,
                        "passedCasesCount": 16,
                        "testCasesCount": 10,
                        "totalTestSuites": 3,
                        "totalTimeSpent": 3171,
                        "totalTimeSpentLabel": "52 minutes 51 seconds"
                    },
                    "id": "2",
                    "is_archived": "0",
                    "issue_manager_project_id": "",
                    "lastActivity": {
                        "ActivityLog": {
                            "created": "2011-04-15 11:39:57",
                            "entity": "Execution",
                            "entity_id": "6",
                            "id": "80",
                            "params": [],
                            "project_id": "2",
                            "type": "finishedExecution",
                            "user_id": "2"
                        }
                    },
                    "name": "Sample",
                    "status": "0",
                    "user_id": "1"
                }
            }
        ]
    }
}

This page was: Helpful | Not Helpful
Test Case Management
Test Collab Support
Product Tour