Skip to main content
edited tags
Source Link
Glorfindel
  • 6.9k
  • 3
  • 22
  • 49

I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses.

I have a colleague who swears they've seen missing revision numbers in the wild, but we cannot come up with examples to speculate about what would trigger this.

In what circumstances would a revision number be omitted? What does it signify? And, given that absent fields should be inferred to be nullnull, if a given revision has no revision number today, might it have one later on, after more revisions?

I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses.

I have a colleague who swears they've seen missing revision numbers in the wild, but we cannot come up with examples to speculate about what would trigger this.

In what circumstances would a revision number be omitted? What does it signify? And, given that absent fields should be inferred to be null, if a given revision has no revision number today, might it have one later on, after more revisions?

I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses.

I have a colleague who swears they've seen missing revision numbers in the wild, but we cannot come up with examples to speculate about what would trigger this.

In what circumstances would a revision number be omitted? What does it signify? And, given that absent fields should be inferred to be null, if a given revision has no revision number today, might it have one later on, after more revisions?

Source Link

What does it mean when a revision number is missing?

I've noticed in the API docs for revisions that revision_number may be absent. Yet all examples, e.g. /posts/{ids}/revisions include a revision number for all responses.

I have a colleague who swears they've seen missing revision numbers in the wild, but we cannot come up with examples to speculate about what would trigger this.

In what circumstances would a revision number be omitted? What does it signify? And, given that absent fields should be inferred to be null, if a given revision has no revision number today, might it have one later on, after more revisions?