Fork me on GitHub
Phraseanet Documentation

Feed Content

About

Return the content of a feed

/api/v1/feeds/{feed_id}/content/
Informations  
HTTP Method GET
Requires Authentication Yes

Parameters

Parameters Type Information
feed_id integer The id of the feed
offset_start integer The first entry to retrive
per_page integer The number of entry to retrieve

Response Fields

Field Description
feed The feed
entries The entries
offset_start Starting offset
per_page The quantity of entries per page

Response sample

{
    "meta": {
        "api_version": "1.3",
        "request": "GET /api/v1/feeds/3978/content/",
        "response_time": "2012-06-29T17:47:21+02:00",
        "http_code": 200,
        "error_type": null,
        "error_message": null,
        "error_details": null,
        "charset": "UTF-8"
    },
    "response": {
        "feed": {
            "id": 3978,
            "title": "lolilol",
            "subtitle": "loilol à l'huile de tournesol",
            "total_entries": 1,
            "icon": "/skins/icons/rss32.gif",
            "public": true,
            "readonly": false,
            "deletable": true,
            "created_on": "2012-06-25T17:58:09+02:00",
            "updated_on": "2012-06-25T17:58:09+02:00"
        },
        "offset_start": 0,
        "per_page": 5,
        "entries": [
            {
                "id": 3727,
                "author_email": "user@example.com",
                "author_name": "user@example.com",
                "created_on": "2012-06-25T17:58:58+02:00",
                "updated_on": "2012-06-25T17:58:58+02:00",
                "title": "premier post lolilol",
                "subtitle": "super photo de promotion du feed lolilol",
                "items": [
                    {
                        "item_id": 18408,
                        "record": {
                            "databox_id": 1,
                            "record_id": 644,
                            "mime_type": "image/jpeg",
                            "title": "0050.JPG",
                            "original_name": "0050.JPG",
                            "updated-on": "2012-06-22T21:22:08+02:00",
                            "created_on": "2012-06-22T21:22:08+02:00",
                            "collection_id": 2,
                            "sha256": "9f44884438cab8ad6a8a557c4101ec866e0af2eb58b890c9c0e9cad385181fb8",
                            "thumbnail": {
                                "name": "thumbnail",
                                "permalink": {
                                    "created_on": "2012-06-25T18:05:20+02:00",
                                    "id": 2016,
                                    "is_activated": true,
                                    "label": "0050JPG",
                                    "updated_on": "2012-06-25T18:05:20+02:00",
                                    "page_url": "http://domain.tld/permalink/v1/1/644/thumbnail/?token=m466mwxi",
                                    "url": "http://domain.tld/permalink/v1/1/644/thumbnail/0050.JPG?token=m466mwxi",
                                    "download_url": "http://domain.tld/permalink/v1/1/644/thumbnail/0050.JPG?token=m466mwxi&download"
                                },
                                "height": 100,
                                "width": 150,
                                "filesize": 3436,
                                "devices": [
                                    "screen"
                                ],
                                "player_type": "IMAGE",
                                "mime_type": "image/jpeg"
                            },
                            "technical_informations": [
                                {
                                    "name": "Aperture",
                                    "value": 5
                                },
                                {
                                    "name": "CameraModel",
                                    "value": "NIKON D700"
                                },
                                {
                                    "name": "Channels",
                                    "value": 3
                                },
                                {
                                    "name": "ColorDepth",
                                    "value": 8
                                },
                                {
                                    "name": "ColorSpace",
                                    "value": "RGB"
                                },
                                {
                                    "name": "FileSize",
                                    "value": 3221035
                                },
                                {
                                    "name": "FlashFired",
                                    "value": 1
                                },
                                {
                                    "name": "FocalLength",
                                    "value": 70
                                },
                                {
                                    "name": "Height",
                                    "value": 2832
                                },
                                {
                                    "name": "HyperfocalDistance",
                                    "value": 32.616371538043
                                },
                                {
                                    "name": "LightValue",
                                    "value": 11.940613708927
                                },
                                {
                                    "name": "MimeType",
                                    "value": "image/jpeg"
                                },
                                {
                                    "name": "ShutterSpeed",
                                    "value": 0.004
                                },
                                {
                                    "name": "Width",
                                    "value": 4256
                                }
                            ],
                            "phrasea_type": "image",
                            "uuid": "fc766012-a9c8-49eb-bcbd-c6f5270cb6f5"
                        }
                    }
                ],
                "feed_url": "/feeds/3978/content/",
                "url": "/feeds/entry/3727/"
            }
        ]
    }
}