Download latest PDF - Read the Docs

Transcript
newslynx Documentation, Release
"authors": [
{
"id": 3,
"name": "MERLYNNE JONES"
}
],
"title": "id ab modi unde aliq",
"type": "article",
"id": 37,
"img_url": "http://example.com/d25cc021-0c98-11e5-b0a9-6c4008aeb606.png",
"thumbnail": "data:image/PNG;base64,...",
}
GET /content
Search and filter all content items and return helpful faceted counts.
Parameter
apikey
org
localize
q
search
fields
incl_body
incl_img
incl_metrics
created_after
created_before
Description
Your apikey
The organization’s id or
slug you wish to access.
Return dates in the org’s
specified timezone. If false
dates will be returned in
UTC.
A search query.
Will
search
on
body,
title, description,
authors & meta. Please
refer to the Postgres Search
docs for details on query
syntax.
The field to search
on.
Either:
body,
title, description,
authors meta, or all.
A comma-separated list of
fields to include in the response.
Whether or not to include
the body of the content item
in the response.
Whether or not to include
the img_url and thumbnail
in the response.
Whether or not to include
metrics in the response.
An ISO-8601 date to filter
results by.
An ISO-8601 date to filter
results by.
Default
null
null
Required
true
true
false
false
null
false
all
false
null
false
false
false
false
false
true
false
null
false
null
false
Continued on next page
86
Chapter 1. Contents