Talk:Core Platform Team/Initiative/Core REST API in MediaWiki/Schema

About this board

Pchelolo (talkcontribs)

We have `title` and `key` properties that contradict the design principle to group related things into subobjects.


Also, `key` is not a very self-explonatory key name.

EProdromou (WMF) (talkcontribs)

I feel like making something as intrinsic to the page as its title into a sub-object is pretty rough on the developer. I can live with it, but I'm not crazy about it.

Given a choice, I'd rather drop the `key` than make a sub-object.

Reply to "title and key"

Large representations contain both html and wikitext

2
Pchelolo (talkcontribs)

Does this mean we would actually return both ever? I can hardly imagine a use-case for returning both

EProdromou (WMF) (talkcontribs)

That would be nuts. I noted in the page that some properties would only be available at some endpoints. I took `source` and `html` out of the listing for large pages.

Reply to "Large representations contain both html and wikitext"
Pchelolo (talkcontribs)

Why is the revision timestamp a part of the `small` view of the revision? Is it so important?

Can we specify that it's actually ISO 8601 with a certain resolution?

EProdromou (WMF) (talkcontribs)

In the page history endpoint, and in the page representation, the timestamp was showing up a lot, so I included it in the "small" view. It seems like the closest thing to a user-readable ID for the revision.

I'll note the ISO 8601 profile.

Reply to "Revision timestamp"
There are no older topics