https://bugzilla.wikimedia.org/show_bug.cgi?id=38971

Legoktm <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Legoktm <[email protected]> ---
I'm going to post some questions about the implementation here since Gerrit
sucks for discussion.

1) Should we require &ids= (or &sites/&titles) to be set when getting an old
revision?

2) How do we represent getting multiple old revisions? Right now a request
looks like:

{
    "entities": {
        "Q1": {
            "pageid": 129,
        },
        "Q2" : blah
}

I'm thinking we can add a revisions key inside each entity, and that would be
an array. So like:

{
    "entities": {
        "Q1": {
            "pageid": 129,
            "revisions": [
                 { entity content for rev 14 }, { entity content for rev15 }
            ]
        }
    },
}

Thoughts?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to