PrototypeMilestones#
Endpoints for working with Milestones. See Introduction to Milestones Endpoints for more information.
Milestone#
A milestone representing a point in the life cycle of a document, presentation, or spreadsheet and can be used to mark progress or completion of a particular phase.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
created |
The creation action of the milestone |
required |
|
id |
string |
Identifier of a milestone. |
required |
remarks |
string |
The remarks associated with the milestone |
required |
resource |
Represents a reference to the resource associated with a milestone. The |
required |
|
title |
string |
The title of the milestone |
required |
Example#
{
"created": {
"dateTime": "2019-10-30T15:03:27Z",
"user": {
"id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD"
}
},
"id": "string",
"remarks": "string",
"resource": {
"document": {
"document": "16b1f641613847469b7aa1ca29af40b1",
"location": "<opaque_url>",
"revision": "2B3C4D5E"
},
"presentation": {
"location": "<opaque_url>",
"presentation": "16b1f641613847469b7aa1ca29af40b1",
"revision": "2B3C4D5E"
},
"spreadsheet": {
"location": "<opaque_url>",
"revision": "2B3C4D5E",
"spreadsheet": "16b1f641613847469b7aa1ca29af40b1"
},
"type": "document"
},
"title": "string"
}
MilestoneCreation#
Parameters used to create a milestone in a document, presentation, or spreadsheet. The created milestone will be associated with the latest revision at the point of milestone creation.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
document |
string |
The unique identifier of the document being referred to |
|
presentation |
string |
The unique identifier of the presentation being referred to |
|
remarks |
string |
The remarks associated with the milestone |
|
spreadsheet |
string |
The unique identifier of the spreadsheet being referred to |
|
title |
string |
The title of the milestone |
required, Maximum length: 200, Minimum length: 1 |
type |
The type of content associated with a milestone. |
required |
Example#
{
"document": "16b1f641613847469b7aa1ca29af40b1",
"presentation": "16b1f641613847469b7aa1ca29af40b1",
"remarks": "",
"spreadsheet": "16b1f641613847469b7aa1ca29af40b1",
"title": "string",
"type": "document"
}
MilestoneId#
The unique identifier of the milestone
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
anonymous |
string |
The unique identifier of the milestone |
Minimum length: 1 |
Example#
"WW91IGZvdW5kIG1d5kIGSd2lIQ"
MilestoneListResult#
Returns a JSON object with data and @nextLink properties. data contains a list of Milestone objects, and @nextLink provides the URL to the next set of results. If there are no additional results, @nextLink doesn’t appear. If the request returns no results at all, data contains an empty array.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
@nextLink |
string |
Pagination link for next set of results |
|
data |
A milestone representing a point in the life cycle of a document, presentation, or spreadsheet and can be used to mark progress or completion of a particular phase. |
required |
Example#
{
"@nextLink": "<opaque_url>",
"data": [
{
"created": {
"dateTime": "2019-10-30T15:03:27Z",
"user": {
"displayName": "John Doe",
"email": "string",
"firstName": "John",
"id": "V1ZVd2VyFzU3NiQ1NDA4NjIzNzk2MjD",
"lastName": "Doe",
"userName": "string"
}
},
"id": "string",
"remarks": "string",
"resource": {
"document": {
"document": "16b1f641613847469b7aa1ca29af40b1",
"location": "<opaque_url>",
"revision": "2B3C4D5E"
},
"presentation": {
"location": "<opaque_url>",
"presentation": "16b1f641613847469b7aa1ca29af40b1",
"revision": "2B3C4D5E"
},
"spreadsheet": {
"location": "<opaque_url>",
"revision": "2B3C4D5E",
"spreadsheet": "16b1f641613847469b7aa1ca29af40b1"
},
"type": "document"
},
"title": "string"
}
]
}
MilestoneResourceRef#
Represents a reference to the resource associated with a milestone. The type property will determine which of the other properties is set.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
document |
DocumentRef¦null |
The reference to the document for |
|
presentation |
PresentationRef¦null |
The reference to the presentation for |
|
spreadsheet |
SpreadsheetRef¦null |
The reference to the spreadsheet for |
|
type |
The type of content associated with a milestone. |
required |
Example#
{
"document": {
"document": "16b1f641613847469b7aa1ca29af40b1",
"location": "<opaque_url>",
"revision": "2B3C4D5E"
},
"presentation": {
"location": "<opaque_url>",
"presentation": "16b1f641613847469b7aa1ca29af40b1",
"revision": "2B3C4D5E"
},
"spreadsheet": {
"location": "<opaque_url>",
"revision": "2B3C4D5E",
"spreadsheet": "16b1f641613847469b7aa1ca29af40b1"
},
"type": "document"
}
MilestoneResourceType#
The type of content associated with a milestone.
Properties#
Name |
Type |
Description |
Restrictions |
|---|---|---|---|
anonymous |
string |
The type of content associated with a milestone. |
Enumerated Values#
Property |
Value |
|---|---|
anonymous |
|
anonymous |
|
anonymous |
|
Example#
"document"