Skip to content

Instantly share code, notes, and snippets.

@tleilax
Created March 24, 2012 10:38
Show Gist options
  • Save tleilax/2180960 to your computer and use it in GitHub Desktop.
Save tleilax/2180960 to your computer and use it in GitHub Desktop.
API json
{
"activities":[
{
"id":"fe54b86db98f7dbe73d5520de44c2f26",
"title":"Datei: Activity Feed",
"author_id":"c2fd13b5fc964d2a75afcf269c1bac17",
"link":"\/trunk\/folder.php?cid=834499e2b8a2cd71637890e5de31cba3&cmd=tree&open=fe54b86db98f7dbe73d5520de44c2f26#anker",
"updated":"1332577862",
"summary":"O Auth hat im Dateibereich der Veranstaltung \"Test Lehrveranstaltung\" die Datei \"Acitivy Feed\" hochgeladen.",
"content":"Plugin",
"category":"files"
},
{
"id":"85f6fa9f5e29986cc5f1ae5552e23764",
"title":"Forum: Test",
"author_id":"c2fd13b5fc964d2a75afcf269c1bac17",
"link":"\/trunk\/forum.php?cid=834499e2b8a2cd71637890e5de31cba3&view=tree&open=85f6fa9f5e29986cc5f1ae5552e23764#anker",
"updated":"1332577813",
"summary":"O Auth hat im Forum der Veranstaltung \"Test Lehrveranstaltung\" den Beitrag \"Test\" geschrieben.",
"content":"Test",
"category":"forum"
}
]
}
[
"news": {
"news_id": "fbb4fd25c708461ade441d281a983965",
"topic": "TEst",
"body": "TEst",
"author": "Root Studip",
"date": "1332457200",
"user_id": "76ed43ef286fb55cf9e41beadb484a9f",
"expire": "687599",
"allow_comments": "0",
"chdate": "1332543058",
"chdate_uid": "",
"mkdate": "1332543058"
}
]
{
"user": {
"user_id" : "c2fd13b5fc964d2a75afcf269c1bac17",
"perms": "dozent",
"title_pre" :"Prof. Dr.",
"forename": "O",
"lastname": "Auth",
"title_post": "Dipl.-Ing.",
"email": "tleilax+oauth@gmail.com",
"avatar_small": "http:\/\/devel09.uni-oldenburg.de\/trunk\/pictures\/user\/c2fd13b5fc964d2a75afcf269c1bac17_small.png",
"avatar_medium": "http:\/\/devel09.uni-oldenburg.de\/trunk\/pictures\/user\/c2fd13b5fc964d2a75afcf269c1bac17_medium.png",
"avatar_normal": "http:\/\/devel09.uni-oldenburg.de\/trunk\/pictures\/user\/c2fd13b5fc964d2a75afcf269c1bac17_normal.png",
"phone": "0441-7984465",
"homepage": false,
"privadr": "Hier und da"
}
}
@tleilax
Copy link
Author

tleilax commented Mar 25, 2012

Der aktuelle Timestamp des Servers wird bei jeder Response im HTTP Header namens "X-SERVER-TIMESTAMP" mitgeliefert.

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