Home
GitHub
Github Repo Pulls Api Nullable Milestone Structure
Github Repo Pulls Api Nullable Milestone Structure
collection of related issues and pull requests.
Type: object
Properties: 16
Required: 16
Code Pipelines Platform Software Development Source Control T1
nullable-milestone is a JSON Structure definition published by GitHub, describing 16 properties, of which 16 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
url
html_url
labels_url
id
node_id
number
state
title
description
creator
open_issues
closed_issues
created_at
updated_at
closed_at
due_on
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-repo-pulls-api-nullable-milestone-structure.json",
"name": "nullable-milestone",
"description": "collection of related issues and pull requests.",
"type": "object",
"properties": {
"url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/milestones/1"
},
"html_url": {
"type": "uri",
"example": "https://github.com/octocat/Hello-World/milestones/v1.0"
},
"labels_url": {
"type": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World/milestones/1/labels"
},
"id": {
"type": "int32",
"example": 1002604
},
"node_id": {
"type": "string",
"example": "MDk6TWlsZXN0b25lMTAwMjYwNA=="
},
"number": {
"description": "The number of the milestone.",
"type": "int32",
"example": 42
},
"state": {
"description": "The state of the milestone.",
"example": "open",
"type": "string",
"enum": [
"open",
"closed"
],
"default": "open"
},
"title": {
"description": "The title of the milestone.",
"example": "v1.0",
"type": "string"
},
"description": {
"type": "string",
"example": "Tracking milestone for version 1.0"
},
"creator": {
"$ref": "#/components/schemas/nullable-simple-user"
},
"open_issues": {
"type": "int32",
"example": 4
},
"closed_issues": {
"type": "int32",
"example": 8
},
"created_at": {
"type": "datetime",
"example": "2011-04-10T20:09:31Z"
},
"updated_at": {
"type": "datetime",
"example": "2014-03-03T18:58:10Z"
},
"closed_at": {
"type": "datetime",
"example": "2013-02-12T13:22:01Z"
},
"due_on": {
"type": "datetime",
"example": "2012-10-09T23:39:01Z"
}
},
"required": [
"closed_issues",
"creator",
"description",
"due_on",
"closed_at",
"id",
"node_id",
"labels_url",
"html_url",
"number",
"open_issues",
"state",
"title",
"url",
"created_at",
"updated_at"
]
}