Custom Query (1174 matches)
Results (295 - 297 of 1174)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1055 | fixed | API feed sort order | ||
| Description |
GMG API feeds ('/api/user/inbox', '/api/user/feed') sort order is oldest first, while pump.io feeds sort order is newest first. |
|||
| #1054 | fixed | Missing Activity attributes in image post response | ||
| Description |
All Activity attributes except for 'verb' and 'object' are missing from response when posting an image, response data for comparison below. Python dict of response data for posted activity with image object to gmg: {
u'verb': u'post',
u'object': {
u'updated': u'2014-12-06T13:32:53.251714+00:00',
u'displayName': u'unknown.png',
u'links': {u'self': {u'href': u'http://mediagoblin.jonash.local/api/image/7'}},
u'fullImage': {u'url': u'http://mediagoblin.jonash.local/mgoblin_media/media_entries/7/unknown.png'},
u'url': u'http://mediagoblin.jonash.local/u/kabniel/m/id:7/',
u'image': {u'url': u'http://mediagoblin.jonash.local/mgoblin_media/media_entries/7/unknown.thumbnail.png'},
u'author': {
# other attrs removed for clarity
u'id': u'acct:kabniel@mediagoblin.jonash.local',
u'objectType': u'person'
},
u'published': u'2014-12-06T13:32:53.251714+00:00',
u'pump_io': {u'shared': False},
u'replies': {u'totalItems': 0, u'items': [], u'url': u'http://mediagoblin.jonash.local/api/image/7/comments'},
u'id': u'http://mediagoblin.jonash.local/api/image/7',
u'objectType': u'image'
}
}
Python dict of response data for posted activity with image object to pump.io: {
u'updated': u'2014-12-06T12:32:50Z',
u'links': {u'self': {u'href': u'https://microca.st/api/activity/LO3c1I79QYC3256MZ3fb9Q'}},
u'generator': {
u'updated': u'2014-11-07T20:37:43Z',
u'displayName': u'PyPump Shell',
u'links': {u'self': {u'href': u'https://microca.st/api/application?id=urn%3Auuid%3Aa6882470-2640-58c9-bcc3-a23b6e1b800f'}},
u'replies': {u'url': u'https://microca.st/api/application/replies?id=urn%3Auuid%3Aa6882470-2640-58c9-bcc3-a23b6e1b800f'},
u'shares': {u'url': u'https://microca.st/api/application/shares?id=urn%3Auuid%3Aa6882470-2640-58c9-bcc3-a23b6e1b800f'},
u'likes': {u'url': u'https://microca.st/api/application/likes?id=urn%3Auuid%3Aa6882470-2640-58c9-bcc3-a23b6e1b800f'},
u'published': u'2014-11-07T20:37:43Z',
u'id': u'urn:uuid:a6882470-2640-58c9-bcc3-a23b6e1b800f',
u'objectType': u'application'
},
u'cc': [],
u'object': {
u'updated': u'2014-12-06T12:32:48Z',
u'links': {u'self': {u'href': u'https://microca.st/api/image/9UNcTsL4RpKbwEWtGcQv7w'}},
u'fullImage': {u'url': u'https://microca.st/uploads/kabniel/2014/12/6/MFBQUw.png', u'width': 1278, u'height': 757},
u'url': u'https://microca.st/kabniel/image/9UNcTsL4RpKbwEWtGcQv7w',
u'image': {u'url': u'https://microca.st/uploads/kabniel/2014/12/6/MFBQUw_thumb.png', u'width': 320, u'height': 189},
u'replies': {u'url': u'https://microca.st/api/image/9UNcTsL4RpKbwEWtGcQv7w/replies', u'totalItems': 0},
u'liked': False,
u'shares': {u'url': u'https://microca.st/api/image/9UNcTsL4RpKbwEWtGcQv7w/shares', u'totalItems': 0},
u'pump_io': {u'shared': False},
u'likes': {u'url': u'https://microca.st/api/image/9UNcTsL4RpKbwEWtGcQv7w/likes', u'totalItems': 0},
u'published': u'2014-12-06T12:32:48Z',
u'id': u'https://microca.st/api/image/9UNcTsL4RpKbwEWtGcQv7w',
u'objectType': u'image'
},
u'actor': {
# other attrs removed for clarity
u'id': u'acct:kabniel@microca.st',
u'objectType': u'person'
},
u'bcc': [],
u'content': u"<a href='https://microca.st/kabniel'>Jonas (kabniel)</a> posted ....",
u'to': [{
# other attrs removed for clarity
u'id': u'acct:kabniel@microca.st',
u'objectType': u'person'
}],
u'verb': u'post',
u'url': u'https://microca.st/kabniel/activity/LO3c1I79QYC3256MZ3fb9Q',
u'published': u'2014-12-06T12:32:50Z',
u'bto': [],
u'id': u'https://microca.st/api/activity/LO3c1I79QYC3256MZ3fb9Q'
}
|
|||
| #1053 | fixed | API Image object height/width attributes missing | ||
| Description |
Image containers in the API Image object doesnt have width/height attributes current: {
u'fullImage': {
u'url': u'gmg.tld/path/123.png'
},
u'image': {
u'url': u'gmg.tld/path/123.thumbnail.png'
}
}
expected: {
u'fullImage': {
u'height': 128,
u'width': 256,
u'url': u'gmg.tld/path/123.png'
},
u'image': {
u'height': 32,
u'width': 64,
u'url': u'gmg.tld/path/123.thumbnail.png'
}
}
|
|||
