Skip to content

Add in getLastEdited API call#820

Merged
JohnMcLear merged 1 commit intoether:developfrom
MarkTraceur:develop
Jun 27, 2012
Merged

Add in getLastEdited API call#820
JohnMcLear merged 1 commit intoether:developfrom
MarkTraceur:develop

Conversation

@MarkTraceur
Copy link
Copy Markdown
Contributor

getLastEdited is a cool new HTTP API call you can make! Test it out, it's super-fun!

(should close #103)

This new HTTP API call, getLastEdited, will return the time of the
last revision, in UNIX timestamp format.
@marcelklehr
Copy link
Copy Markdown
Contributor

I think it should be getTimeOfLastEdit, shouldn't it?

@MarkTraceur
Copy link
Copy Markdown
Contributor Author

On 12-06-27 10:34 AM, Marcel Klehr wrote:

I think it should be getTimeOfLastEdit, shouldn't it?

If you have merge rights on develop, I can change the function name to
whatever you'd like. I think "getLastEdited" works OK, but I'm willing
to change.

Mark Holmquist
Contractor, Wikimedia Foundation
mtraceur@member.fsf.org
http://marktraceur.info

@JohnMcLear
Copy link
Copy Markdown
Member

anything w/ "get" In the name is not RESTless strictly speaking so our naming schema will prolly be completely rewritten in V2. Technically correct name would be "mostRecentPadEditTime" but that's being picky..

JohnMcLear added a commit that referenced this pull request Jun 27, 2012
Add in getLastEdited API call
@JohnMcLear JohnMcLear merged commit b466e37 into ether:develop Jun 27, 2012
@JohnMcLear
Copy link
Copy Markdown
Member

Good work Mark, another good un :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API should return createdDate of pads

3 participants