Retrieving Content

List & count your content

Object representing the verification of your content uploaded to the database.

Endpoint - GET /$source/ids

Header Value Description
x-api-key Your API key String representing the value of the API key we sent you when you joined Rumo.

Example request:

curl -X GET \
  https://beta.api.rumo.co/{{$source}}/ids \
  -H 'x-api-key: Your_Rumo_API_Key' \

JSON response

{
    "count": 4,
    "content": [
        "1",
        "2",
        "123",
        "3"
    ]
}
Returns Description
count Integer identifying the amount of content pieces within a single content database.
content String map with the identification of the different content pieces that belong to the same content database.

List your content in details

Object representing the detailed list of your content uploaded to the database.

Endpoint - GET /$source/content

Header Value Description
x-api-key Your API key String representing the value of the API key we sent you when you joined Rumo.

Example request:

curl -X GET \
  https://beta.api.rumo.co/{{$source}}/content \
  -H 'x-api-key: Your_Rumo_API_Key' \

JSON response

{
  "source": "rumo_test",
  "timestamp": "2020-10-30T15:50:28.065Z",
  "content": [
    {
      "id": "1",
      "label": "Toy Story (1995)",
      "categories": {
        "genres": [
          "Mystery",
          "Romance",
          "Sci-Fi",
          "Thriller"
        ],
        "directors": [
          "John Lasseter"
        ]
      },
      "filters": {},
      "extras": {
          "img_url" : "https://fr.web.img3.acsta.net/medias/nmedia/18/64/42/87/18778479.jpg"
      }
    },
    {
      "id": "2",
      "label": "Twelve Monkeys (1995)",
      "categories": {
        "genres": [
          "Mystery",
          "Romance",
          "Sci-Fi",
          "Thriller"
        ],
        "directors": [
          "Terry Gilliam"
        ]
      },
      "filters": {},
      "extras": {
          "img_url" : "https://upload.wikimedia.org/wikipedia/en/thumb/c/cf/Twelve_monkeysmp.jpg/220px-Twelve_monkeysmp.jpg"
      }
    },
    {
      "id": "3",
      "label": "10 Things I Hate About You (1999)",
      "categories": {
        "genres": [
          "Comedy",
          "Romance"
        ],
        "directors": [
          "Gil Junger"
        ]
      },
      "filters": {},
      "extras": {
          "img_url" : "https://flxt.tmsimg.com/assets/p22802_p_v8_af.jpg"
    }
}
]
Returns Description
source String identifying your business content database.
timestamp String identifying the timestamp.
content String map with the identification of the detailed content pieces that belong to the same content database.