Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
311 lines (280 loc) · 8.45 KB

blogs_site.md

File metadata and controls

311 lines (280 loc) · 8.45 KB

List blog posts for a given site

GET /blogs/{site}.{format}

Description

This method returns a list of all blog posts for a given site

Summary

Name Value Name Value
Request Protocol GET Requires API Key Yes
Method ID 1789 Enabled Yes
Service Name blogs Service ID 337
Information Steward Each individual site's data steward Data Type Direct DB Connection
Update Frequency Realtime Cache Time 0 seconds

Notes

  • Any value can be null

Sources

Parameters

GET /blogs/{site}.{format}
Parameter Type Required Description
key filter yes Your API key
site input yes Site ID
callback filter no JSONP callback format

Output Formats

  • json
  • xml

Examples

GET /blogs/{site}.{format}

Response

Field Name Type Value Description
id integer Post id
title string Blog post title
teaser_raw string Blog post excerpt with HTML
teaser string Blog post excerpt
publisher string Author name
delegated_author string Delegated author's name
link string Blog post URL
published datetime Date published
updated datetime Last updated

Any value can be null

Output

JSON

{
  "meta":{
    "requests":811464,
    "timestamp":1453154507,
    "status":200,
    "message":"Request successful",
    "method_id":1789,
    "method":{
      
    }
  },
  "data":[
    {
      "id":7721,
      "title":"Student graces St. Paul's with six-foot-tall artwork",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Rachel Isabelle Hammermueller",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/student-graces-st-pauls-six-foot-tall-artwork",
      "published":"2016-01-14T00:00:00",
      "updated":"2016-01-15T09:29:26-05:00"
    },
    {
      "id":7531,
      "title":"Math student spins deal with a dragon",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/math-student-spins-deal-dragon",
      "published":"2015-12-18T00:00:00",
      "updated":"2016-01-13T08:20:08-05:00"
    },
    {
      "id":7513,
      "title":"Student artist tackles gender binary with Sex Symbol",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/student-artist-tackles-gender-binary-sex-symbol",
      "published":"2015-12-10T00:00:00",
      "updated":"2015-12-10T15:55:37-05:00"
    },
    {
      "id":7499,
      "title":"Step aside Shakespeare - there are new wordsmiths in town",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/step-aside-shakespeare-there-are-new-wordsmiths-town",
      "published":"2015-12-07T00:00:00",
      "updated":"2015-12-08T15:32:11-05:00"
    },
    {
      "id":7473,
      "title":"A picture is worth 1,000 words",
      "teaser_raw":"<p><img alt=\"IEW photo contest winners\" class=\"image-body-500px-wide\" height=\"166\" src=\"\/student-success\/sites\/ca.student-success\/files\/styles\/body-500px-wide\/public\/uploads\/images\/screen_shot_2015-12-03_at_11.40.23_am.png?itok=FIlEJFL5\" width=\"500\" \/>Each year, the <em>Where in the world<\/em> photo contest is one of the highlights of International Education Week. Out of the 16 finalists, <a href=\"https:\/\/uwaterloo.ca\/find-out-more\/programs\/management-engineering\">Management Engineering<\/a> students Juana Attieh and Yahya Wahbeh managed to take first place for their <a href=\"https:\/\/uwaterloo.ca\/co-operative-education\/working-abroad\/international-photo-contest-2015\">submissions<\/a>.<\/p>",
      "teaser":"Each year, the Where in the world photo contest is one of the highlights of International Education Week. Out of the 16 finalists, Management Engineering students Juana Attieh and Yahya Wahbeh managed to take first place for their submissions.",
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/picture-worth-1000-words",
      "published":"2015-12-03T00:00:00",
      "updated":"2015-12-03T11:52:23-05:00"
    },
    {
      "id":7467,
      "title":"M\u00e9tis grad student tackles gender violence in Beijing",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/metis-grad-student-tackles-gender-violence-beijing",
      "published":"2015-12-01T00:00:00",
      "updated":"2015-12-02T08:44:31-05:00"
    },
    {
      "id":7437,
      "title":"UWaterloo muggles organize cross-province Quidditch tournament",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/uwaterloo-muggles-organize-cross-province-quidditch",
      "published":"2015-11-26T00:00:00",
      "updated":"2015-11-27T08:50:46-05:00"
    },
    {
      "id":7422,
      "title":"Playing with time at Unity (1918)",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/playing-time-unity-1918",
      "published":"2015-11-24T00:00:00",
      "updated":"2015-11-24T20:05:32-05:00"
    },
    {
      "id":7379,
      "title":"Jamaican exchange student brings her research to UWaterloo",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/jamaican-exchange-student-brings-her-research-uwaterloo",
      "published":"2015-11-19T00:00:00",
      "updated":"2015-11-19T10:59:26-05:00"
    },
    {
      "id":7360,
      "title":"Student speaks at Canada&#039;s largest chemical physics conference",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/student-speaks-canadas-largest-chemical-physics-conference",
      "published":"2015-11-17T00:00:00",
      "updated":"2015-12-17T10:52:19-05:00"
    },
    {
      "id":7301,
      "title":"UWaterloo Students organize fourth TEDxUW event",
      "teaser_raw":null,
      "teaser":null,
      "publisher":"Aliaksandr Bahdanovich",
      "delegated_author":null,
      "link":"https:\/\/uwaterloo.ca\/student-success\/blog\/post\/uwaterloo-students-organize-fourth-tedxuw-event",
      "published":"2015-11-10T00:00:00",
      "updated":"2015-11-10T15:40:12-05:00"
    }
  ]
}