Deprecated. See Project Version projectSlug: Project Identifier. iterationSlug: Project Iteration identifier.
Returns data for a single Project iteration.
media type | data type | description |
---|---|---|
application/json | Project Version (JSON) | The following response status codes will be returned from this
operation: OK(200) - Contains the Project iteration data. NOT FOUND(404) - response, if a Project iteration could not be found for the given parameters. INTERNAL SERVER ERROR(500) - If there is an unexpected error in the server while performing this operation. |
application/vnd.zanata.project.iteration+json | Project Version (JSON) | |
application/vnd.zanata.project.iteration+xml | Project Version (XML) | |
application/xml | Project Version (XML) |
GET /projects/p/{projectSlug}/iterations/i/{iterationSlug} Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
{
"id" : "my-iteration",
"links" : [ { }, { } ],
"status" : "ACTIVE",
"projectType" : "Podir"
}
Returns header information for a project iteration.
media type | data type | description |
---|---|---|
application/json | object (JSON) | The following response status codes will be returned from this
operation: OK(200) - Response with an "Etag" header for the requested project iteration. NOT FOUND(404) - If a project iteration could not be found for the given parameters. INTERNAL SERVER ERROR(500) - If there is an unexpected error in the server while performing this operation. |
application/vnd.zanata.project.iteration+json | object (JSON) | |
application/vnd.zanata.project.iteration+xml | anyType (XML) | |
application/xml | anyType (XML) |
HEAD /projects/p/{projectSlug}/iterations/i/{iterationSlug} Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
...
Creates or modifies a Project iteration.
media type | data type |
---|---|
application/json | Project Version (JSON) |
application/vnd.zanata.project.iteration+json | Project Version (JSON) |
application/vnd.zanata.project.iteration+xml | Project Version (XML) |
application/xml | Project Version (XML) |
media type | data type | description |
---|---|---|
application/json | object (JSON) | The following response status codes will be returned from this
operation: OK(200) - If an already existing project iteration was updated as a result of this operation. CREATED(201) - If a new project iteration was added. NOT FOUND(404) - If no project was found for the given project slug. FORBIDDEN(403) - If the user was not allowed to create/modify the project iteration. In this case an error message is contained in the response. UNAUTHORIZED(401) - If the user does not have the proper permissions to perform this operation. INTERNAL SERVER ERROR(500) - If there is an unexpected error in the server while performing this operation. |
application/xml | anyType (XML) |
PUT /projects/p/{projectSlug}/iterations/i/{iterationSlug}
Content-Type: application/json
Accept: application/json
{
"id" : "my-iteration",
"links" : [ { }, { } ],
"status" : "READONLY",
"projectType" : "Podir"
}
HTTP/1.1 204 No Content
Content-Type: application/json
...
Get a project iteration's sample general configuration file(zanata.xml). Note: this will only be a sample configuration which does not contain any customization done on the client side, such as, locale mapping and/or command hooks.
media type | data type | description |
---|---|---|
application/xml | anyType (XML) | The following response status codes will be returned from this
operation: OK(200) - Contains the Project iteration config xml. NOT FOUND(404) - response, if a Project iteration could not be found for the given parameters. INTERNAL SERVER ERROR(500) - If there is an unexpected error in the server while performing this operation. |
GET /projects/p/{projectSlug}/iterations/i/{iterationSlug}/config Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
...