RulePoint
- RulePoint 6.2
- All Products
POST http://localhost:8080/rulepoint/api/projects Accept: application/json Content-Type: application/json Cookie: JSESSIONID=<VALID SESSION ID>
{ "name": "TestProject1", "description": "Test Project" }
{ "id": "2", "name": "TestProject1", "valid": false, "self": { "rel": "self", "href": "api/projects/2" }, "actions": [ { "rel": "update", "href": "/api/projects/2", "type": "PUT" }, { "rel": "delete", "href": "/api/projects/2", "type": "DELETE" }, { "rel": "deploy", "href": "/api/projects/2/deploy", "type": "POST" }, { "rel": "undeploy", "href": "/api/projects/2/undeploy", "type": "POST" } ], "acl": { "rel": "acl", "href": "api/projects/2/acl", "title": "acl" }, "description": "Test Project" }
POST http://localhost:8080/rulepoint/api/projects Accept: application/xml Content-Type: application/xml Cookie: JSESSIONID=<VALID SESSION ID>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <project> <name>TestProject1</name> <description>Test Project</description> </project>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <project> <acl> <href>api/projects/144/acl</href> <rel>acl</rel> <title>acl</title> </acl> <actions> <action> <href>/api/projects/144</href> <rel>update</rel> <type>PUT</type> </action> <action> <href>/api/projects/144</href> <rel>delete</rel> <type>DELETE</type> </action> <action> <href>/api/projects/144/deploy</href> <rel>deploy</rel> <type>POST</type> </action> <action> <href>/api/projects/144/undeploy</href> <rel>undeploy</rel> <type>POST</type> </action> </actions> <id>144</id> <name>TestProject1</name> <self> <href>api/projects/144</href> <rel>self</rel> </self> <description>Test Project</description> </project>