# Comics API

## Get Comics

<mark style="color:blue;">`GET`</mark> `https://contentapi.celltick.com/mediaApi/v1.0/mid/comics`

Method returns one or more comics images based on the below parameters

#### Query Parameters

| Name        | Type    | Description                                                                                                                                                                                                      |
| ----------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| offset      | integer | for paging only. (e.g. offset=5 will return items starting from the 5th place)                                                                                                                                   |
| limit       | integer | limit the number of returned items.                                                                                                                                                                              |
| theme       | string  | Theme of comics Supported themes (single one selection) {“Dilbert” , “Garfield”, “Peanuts”, ”Pearls”,” Argyle”, ”Tutlandia”} limit N integer Limits the number of returned content items. Default is 5 max is 50 |
| publishDate | string  | Allows fetching comics for specific date. Date/time format is: MM/dd/yyyy”                                                                                                                                       |
| language    | string  | 2 letter language code (ISO 639-1) Supported languages: (pt) -Portuguese (es) - Spanish (en) - English                                                                                                           |
| optOut      | boolean | Allowed values are: true/false Mandatory In case of android application                                                                                                                                          |
| aid         | string  | Mandatory In case of android application                                                                                                                                                                         |
| userId      | string  | Source user id (UUID)                                                                                                                                                                                            |

{% tabs %}
{% tab title="200 " %}

```
{
    "totalItems": 5,
    "comics": [
        {
            "contentId": "0e333c18-4f97-4c29-af53-4aae241229ff",
            "pubDate": 1539129600,
            "theme": "ARGYLE",
            "imageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60/comics/tas181010.gif",
            "fileName": "tas181010.gif",
            "size": "largeBox"
        },
        {
            "contentId": "2977916b-67b3-4fe3-bad4-c26822833dc0",
            "pubDate": 1539129600,
            "theme": "PEANUT",
            "imageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60/comics/pt181010.gif",
            "fileName": "pt181010.gif",
            "size": "smallStrip"
        },
        {
            "contentId": "468c31df-5e05-4378-a3b9-af7bbffd4cd1",
            "pubDate": 1539129600,
            "theme": "PEARLS",
            "imageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60/comics/pb181010.gif",
            "fileName": "pb181010.gif",
            "size": "smallStrip"
        },
        {
            "contentId": "372435de-6fad-423a-98f2-a6b701a60ff5",
            "pubDate": 1539129600,
            "theme": "GARFIELD",
            "imageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60/comics/ga181010.gif",
            "fileName": "ga181010.gif",
            "size": "smallStrip"
        },
        {
            "contentId": "d78ae90c-60e0-4d1a-a017-517c4fef815d",
            "pubDate": 1539129600,
            "theme": "DILBERT",
            "imageURL": "https://imageca.thestartmagazine.com/upload/fl_lossy,q_60/comics/dt181010.gif",
            "fileName": "dt181010.gif",
            "size": "smallStrip"
        }
    ]
}
```

{% endtab %}
{% endtabs %}
