Skip to content

Get a milestone

Deprecated
GET
/repositories/{workspace}/{repo_slug}/milestones/{milestone_id}

Returns the specified issue tracker milestone object.

milestone_id
required
integer

The milestone’s id

repo_slug
required
string

This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.

workspace
required
string

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

The specified milestone object.

Media type application/json
object
type
required
string
links
object
self
Link

A link to a resource related to this object.

object
href
string format: uri
name
string
name
string
id
integer
Example generated
{
"type": "example",
"links": {
"self": {
"href": "https://example.com",
"name": "example"
}
},
"name": "example",
"id": 1
}

The specified repository or milestone does not exist or does not have the issue tracker enabled.

Media type application/json
Error

Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.

object
type
required
string
error
object
message
required
string
detail
string
data

Optional structured data that is endpoint-specific.

object
key
additional properties
any
key
additional properties
any
Example generated
{
"type": "example",
"error": {
"message": "example",
"detail": "example",
"data": {}
}
}