projects element
Type: | projects |
Namespace: | http://hudson-ci.org/xsd/hudson/2.1.0/rest/project |
Example XML
<?xml version="1.0" encoding="UTF-8"?>
<projects xmlns="http://hudson-ci.org/xsd/hudson/2.1.0/rest/project">
<project xmlns="">
<ref>
<id>...</id>
</ref>
<type>...</type>
<id>...</id>
<url>...</url>
<name>...</name>
<title>...</title>
<description>...</description>
<enabled>...</enabled>
<configurable>...</configurable>
<concurrent>...</concurrent>
<queued>...</queued>
<lastBuild>
<type>...</type>
<url>...</url>
<id>...</id>
<number>...</number>
<description>...</description>
<projectName>...</projectName>
<duration>...</duration>
<timeStamp>...</timeStamp>
<result>...</result>
<state>...</state>
<kept>...</kept>
<causes>
<type>...</type>
<description>...</description>
</causes>
<causes>
<!--...-->
</causes>
<!--...more "causes" elements...-->
<participants>...</participants>
<participants>...</participants>
<!--...more "participants" elements...-->
<culprits>...</culprits>
<culprits>...</culprits>
<!--...more "culprits" elements...-->
<changesAvailable>...</changesAvailable>
<testsAvailable>...</testsAvailable>
</lastBuild>
<blocked>...</blocked>
<blockedReason>...</blockedReason>
<health>
<score>...</score>
<description>...</description>
</health>
<parent>
<id>...</id>
</parent>
<descendant>
<id>...</id>
</descendant>
<descendant>
<!--...-->
</descendant>
<!--...more "descendant" elements...-->
<upstream>
<id>...</id>
</upstream>
<upstream>
<!--...-->
</upstream>
<!--...more "upstream" elements...-->
<downstream>
<id>...</id>
</downstream>
<downstream>
<!--...-->
</downstream>
<!--...more "downstream" elements...-->
</project>
<project xmlns="">
<!--...-->
</project>
<!--...more "project" elements...-->
</projects>
Example JSON
{
"project" : [ {
"ref" : {
"id" : "..."
},
"type" : "...",
"id" : "...",
"url" : "...",
"name" : "...",
"title" : "...",
"description" : "...",
"enabled" : false,
"configurable" : false,
"concurrent" : false,
"queued" : false,
"lastBuild" : {
"type" : "...",
"url" : "...",
"id" : "...",
"number" : ...,
"description" : "...",
"projectName" : "...",
"duration" : ...,
"timeStamp" : ...,
"result" : "SUCCESS",
"state" : "NOT_STARTED",
"kept" : false,
"causes" : [ {
"type" : "...",
"description" : "..."
}, ... ],
"participants" : [ "...", ... ],
"culprits" : [ "...", ... ],
"changesAvailable" : false,
"testsAvailable" : false
},
"blocked" : false,
"blockedReason" : "...",
"health" : {
"score" : ...,
"description" : "..."
},
"parent" : {
"id" : "..."
},
"descendant" : [ {
"id" : "..."
}, ... ],
"upstream" : [ {
"id" : "..."
}, ... ],
"downstream" : [ {
"id" : "..."
}, ... ]
}, ... ]
}