Mantis Bugtracker          
testlink.org

View Revisions: Issue #5661 All Revisions ] Back to Issue ]
Summary 0005661: REST API
Revision 2013-04-28 09:07 by fman
Description All calls must check user rights

Scenario
Test project: name='Slim Rest Test', dbid=1

FIRST DRAFT - MUST CHANGE
GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1
GET lib/api/rest/v1/testprojects/Slim%20Rest%20Test - get test project with name=Slim Rest Test (Notice: need to be urlencoded)




GET lib/api/rest/v1/testprojects/1/testplans/ - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/9/builds - get all builds for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/platforms/ - get all platforms for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/testcases/ - get all test cases for test plan with DBID=9

GET lib/api/rest/v1/builds/5 - get build with DBID=5

POST
POST lib/api/rest/v1/testprojects/ will create a test project using
info provided on JSON format on REQUEST BODY.

POST lib/api/rest/v1/executions/ will create atest case execution using
info provided on JSON format on REQUEST BODY.


Revision 2013-04-26 16:11 by fman
Description All calls must check user rights

Scenario
Test project: name='Slim Rest Test', dbid=1

FIRST DRAFT - MUST CHANGE
GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1
GET lib/api/rest/v1/testprojects/Slim%20Rest%20Test - get test project with name=Slim Rest Test (Notice: need to be urlencoded)




GET lib/api/rest/v1/testprojects/1/testplans/ - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/9/builds - get all builds for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/platforms/ - get all platforms for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/testcases/ - get all test cases for test plan with DBID=9



GET lib/api/rest/v1/builds/5 - get build with DBID=5


Revision 2013-04-26 16:11 by fman
Description All calls must check user rights

Scenario
Test project: name='Slim Rest Test'
              dbid=1

FIRST DRAFT - MUST CHANGE
GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1
GET lib/api/rest/v1/testprojects/Slim%20Rest%20Test - get test project with name=Slim Rest Test (Notice: need to be urlencoded)




GET lib/api/rest/v1/testprojects/1/testplans/ - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/9/builds - get all builds for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/platforms/ - get all platforms for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/testcases/ - get all test cases for test plan with DBID=9



GET lib/api/rest/v1/builds/5 - get build with DBID=5


Revision 2013-04-26 15:20 by fman
Description All calls must check user rights

FIRST DRAFT - MUST CHANGE
GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1

GET lib/api/rest/v1/testprojects/1/testplans/ - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/9/builds - get all builds for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/platforms/ - get all platforms for test plan with DBID=9
GET lib/api/rest/v1/testplans/9/testcases/ - get all test cases for test plan with DBID=9



GET lib/api/rest/v1/builds/5 - get build with DBID=5


Revision 2013-04-25 19:19 by fman
Description All calls must check user rights

FIRST DRAFT - MUST CHANGE
GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1

GET lib/api/rest/v1/testprojects/testplans/1 - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/builds/9 - get all builds for test plan with DBID=9
GET lib/api/rest/v1/testplans/platforms/9 - get all platforms for test plan with DBID=9
GET lib/api/rest/v1/testplans/testcases/9 - get all test cases for test plan with DBID=9



GET lib/api/rest/v1/builds/5 - get build with DBID=5


Revision 2013-04-25 19:10 by fman
Description All calls must check user rights

GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1

GET lib/api/rest/v1/testprojects/testplans/1 - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/builds/9 - get all builds for test plan with DBID=9
GET lib/api/rest/v1/testplans/platforms/9 - get all platforms for test plan with DBID=9
GET lib/api/rest/v1/testplans/testcases/9 - get all test cases for test plan with DBID=9



GET lib/api/rest/v1/builds/5 - get build with DBID=5


Revision 2013-04-25 19:09 by fman
Description All calls must check user rights

GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1

GET lib/api/rest/v1/testprojects/testplans/1 - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/builds/9 - get all builds for test plan with DBID=9
GET lib/api/rest/v1/testplans/platforms/9 - get all platforms for test plan with DBID=9

GET lib/api/rest/v1/testplans/testcases/9 - get all test cases for test plan with DBID=9



GET lib/api/rest/v1/builds/5 - get build with DBID=5


Revision 2013-04-25 19:08 by fman
Description All calls must check user rights

GET lib/api/rest/v1/testprojects - get all test projects
GET lib/api/rest/v1/testprojects/1 - get test project with DBID=1

GET lib/api/rest/v1/testprojects/testplans/1 - get all test plans for test project with DBID=1

GET lib/api/rest/v1/testplans/9 - get test plan with DBID=9
GET lib/api/rest/v1/testplans/builds/9 - get all builds for test plan with DBID=9

GET lib/api/rest/v1/builds/5 - get build with DBID=5




Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker