openapi: 3.0.3
info:
    title: 'Curaytor Resource API Documentation'
    description: 'Resource-API Documentation'
    version: 1.0.0
servers:
    -
        url: 'http://127.0.0.1:8000/api'
paths:
    /api/ping:
        get:
            summary: "Ping\nReturns a \"pong\" response from the server with the version"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '1. Common endpoints'
    /api/marketing_plans:
        get:
            summary: "Get Marketing Plans\nReturns a list of marketing plans"
            description: ''
            parameters:
                -
                    in: query
                    name: page
                    description: 'Pagination parameter.'
                    example: 1
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 1
                -
                    in: query
                    name: per_page
                    description: 'Pagination parameter.'
                    example: 100
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 100
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    data: [{ id: 7, date: { date: '2021-03-27 20:57:21.000000', timezone_type: 3, timezone: UTC }, option_1: autem, option_2: et, option_3: veniam }, { id: 99544, date: { date: '2021-04-11 01:05:42.000000', timezone_type: 3, timezone: UTC }, option_1: et, option_2: minima, option_3: voluptatum }]
                                properties:
                                    data: { type: array, example: [{ id: 7, date: { date: '2021-03-27 20:57:21.000000', timezone_type: 3, timezone: UTC }, option_1: autem, option_2: et, option_3: veniam }, { id: 99544, date: { date: '2021-04-11 01:05:42.000000', timezone_type: 3, timezone: UTC }, option_1: et, option_2: minima, option_3: voluptatum }], items: { type: object } }
            tags:
                - '2. Marketing plan endpoints'
        post:
            summary: "Create Marketing Plan\nReturns newly created marketing plan"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '2. Marketing plan endpoints'
            requestBody:
                required: false
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                date:
                                    type: string
                                    description: 'Date in Y-m-d format.'
                                    example: '2020-12-01'
    '/api/marketing_plans/{marketing_plan}':
        get:
            summary: "Show Marketing Plan\nReturns a single marketing plan"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 98721466
                                    date: { date: '2021-04-01 00:41:56.000000', timezone_type: 3, timezone: UTC }
                                    option_1: velit
                                    option_2: vel
                                    option_3: ut
                                properties:
                                    id: { type: integer, example: 98721466 }
                                    date: { type: object, example: { date: '2021-04-01 00:41:56.000000', timezone_type: 3, timezone: UTC } }
                                    option_1: { type: string, example: velit }
                                    option_2: { type: string, example: vel }
                                    option_3: { type: string, example: ut }
            tags:
                - '2. Marketing plan endpoints'
        put:
            summary: "Update Marketing Plan\nReturns an updated marketing plan"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 989
                                    date: { date: '2021-03-24 03:42:02.000000', timezone_type: 3, timezone: UTC }
                                    option_1: unde
                                    option_2: qui
                                    option_3: sint
                                properties:
                                    id: { type: integer, example: 989 }
                                    date: { type: object, example: { date: '2021-03-24 03:42:02.000000', timezone_type: 3, timezone: UTC } }
                                    option_1: { type: string, example: unde }
                                    option_2: { type: string, example: qui }
                                    option_3: { type: string, example: sint }
            tags:
                - '2. Marketing plan endpoints'
            requestBody:
                required: false
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                date:
                                    type: string
                                    description: 'The value must be a valid date.'
                                    example: '2021-04-19T13:52:38+0000'
        delete:
            summary: "Delete Marketing Plan\nReturns 200 after successful deletion"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: '200'
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    code: 200
                                    data: {  }
                                    time: 205.7879
                                properties:
                                    code: { type: integer, example: 200 }
                                    data: { type: object, example: {  } }
                                    time: { type: number, example: 205.7879 }
            tags:
                - '2. Marketing plan endpoints'
        parameters:
            -
                in: path
                name: marketing_plan
                description: 'Marketing Plan Id.'
                example: '1'
                required: true
                schema:
                    type: string
    /api/videos:
        get:
            summary: "Get Videos\nReturn a list af videos"
            description: ''
            parameters:
                -
                    in: query
                    name: tags
                    description: 'Optional list of tags, coma separated.'
                    example: 'tag1,tag2,tag3'
                    required: false
                    schema:
                        type: string
                        description: 'Optional list of tags, coma separated.'
                        example: 'tag1,tag2,tag3'
                -
                    in: query
                    name: date
                    description: 'Optional date to display only the videos BEFORE that date.'
                    example: '1999-12-12'
                    required: false
                    schema:
                        type: string
                        description: 'Optional date to display only the videos BEFORE that date.'
                        example: '1999-12-12'
                -
                    in: query
                    name: upcoming
                    description: 'Optional date to display only the videos AFTER that date.'
                    example: '2021-12-12'
                    required: false
                    schema:
                        type: string
                        description: 'Optional date to display only the videos AFTER that date.'
                        example: '2021-12-12'
                -
                    in: query
                    name: category
                    description: 'Category filter.'
                    example: qui
                    required: false
                    schema:
                        type: string
                        description: 'Category filter.'
                        example: qui
                -
                    in: query
                    name: bookmarked_by
                    description: 'User ID filter. Bookmark filter.'
                    example: '123'
                    required: false
                    schema:
                        type: string
                        description: 'User ID filter. Bookmark filter.'
                        example: '123'
                -
                    in: query
                    name: page
                    description: 'Pagination parameter.'
                    example: 1
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 1
                -
                    in: query
                    name: per_page
                    description: 'Pagination parameter.'
                    example: 100
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 100
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    data: [{ id: 6484940, title: 'Aliquid ut aut quam nemo.', description: 'Similique officia dolorum delectus harum. Veritatis totam culpa voluptatem ducimus voluptatum aut. Rem nesciunt provident magni porro praesentium.', category: aut, thumbnail: 'https://via.placeholder.com/640x480.png/002211?text=eum', date: '2013-08-05T00:00:00.000000Z', url: 'http://blick.com/possimus-soluta-nobis-architecto-officia-veniam', video_views: null, original_url_views: null, popularity: null, original_url: null, tags: [], people: [] }, { id: 4064, title: 'Beatae distinctio numquam nihil dolorum et officiis dolorem.', description: 'Quod sunt eligendi magnam fugiat veniam et quo. Voluptas autem nobis eum aut et qui placeat deserunt. Laudantium dolorum quos ipsa accusantium sit. Est est explicabo adipisci quisquam.', category: dolorum, thumbnail: 'https://via.placeholder.com/640x480.png/00ddaa?text=nesciunt', date: '1989-08-22T00:00:00.000000Z', url: 'https://zemlak.net/commodi-nihil-est-iste-sed.html', video_views: null, original_url_views: null, popularity: null, original_url: null, tags: [], people: [] }]
                                properties:
                                    data: { type: array, example: [{ id: 6484940, title: 'Aliquid ut aut quam nemo.', description: 'Similique officia dolorum delectus harum. Veritatis totam culpa voluptatem ducimus voluptatum aut. Rem nesciunt provident magni porro praesentium.', category: aut, thumbnail: 'https://via.placeholder.com/640x480.png/002211?text=eum', date: '2013-08-05T00:00:00.000000Z', url: 'http://blick.com/possimus-soluta-nobis-architecto-officia-veniam', video_views: null, original_url_views: null, popularity: null, original_url: null, tags: [], people: [] }, { id: 4064, title: 'Beatae distinctio numquam nihil dolorum et officiis dolorem.', description: 'Quod sunt eligendi magnam fugiat veniam et quo. Voluptas autem nobis eum aut et qui placeat deserunt. Laudantium dolorum quos ipsa accusantium sit. Est est explicabo adipisci quisquam.', category: dolorum, thumbnail: 'https://via.placeholder.com/640x480.png/00ddaa?text=nesciunt', date: '1989-08-22T00:00:00.000000Z', url: 'https://zemlak.net/commodi-nihil-est-iste-sed.html', video_views: null, original_url_views: null, popularity: null, original_url: null, tags: [], people: [] }], items: { type: object } }
            tags:
                - '3. Video endpoints'
        post:
            summary: "Create Video\nReturns a newly created video object"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 1539
                                    title: 'Soluta facere accusamus velit qui molestias corrupti.'
                                    description: 'Quisquam molestiae impedit fugit in maiores deserunt qui. Recusandae est consequatur nostrum corporis doloribus itaque. Ut nulla non sed sunt.'
                                    category: hic
                                    thumbnail: 'https://via.placeholder.com/640x480.png/0077aa?text=inventore'
                                    date: '1982-04-18T00:00:00.000000Z'
                                    url: 'http://kohler.com/'
                                    video_views: null
                                    original_url_views: null
                                    popularity: null
                                    original_url: null
                                    tags: []
                                    people: []
                                properties:
                                    id: { type: integer, example: 1539 }
                                    title: { type: string, example: 'Soluta facere accusamus velit qui molestias corrupti.' }
                                    description: { type: string, example: 'Quisquam molestiae impedit fugit in maiores deserunt qui. Recusandae est consequatur nostrum corporis doloribus itaque. Ut nulla non sed sunt.' }
                                    category: { type: string, example: hic }
                                    thumbnail: { type: string, example: 'https://via.placeholder.com/640x480.png/0077aa?text=inventore' }
                                    date: { type: string, example: '1982-04-18T00:00:00.000000Z' }
                                    url: { type: string, example: 'http://kohler.com/' }
                                    video_views: { type: string, example: null }
                                    original_url_views: { type: string, example: null }
                                    popularity: { type: string, example: null }
                                    original_url: { type: string, example: null }
                                    tags: { type: array, example: [] }
                                    people: { type: array, example: [] }
            tags:
                - '3. Video endpoints'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                title:
                                    type: string
                                    description: 'Video Title.'
                                    example: '"Jumping ball"'
                                description:
                                    type: text
                                    description: 'Video description.'
                                    example: possimus
                                thumbnail:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://www.zboncak.net/iure-saepe-sit-nihil-ducimus.html'
                                date:
                                    type: string
                                    description: 'The value must be a valid date.'
                                    example: '2021-04-19T13:52:38+0000'
                                url:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://fisher.com/eligendi-perferendis-qui-libero-ipsa'
                                original_url:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'https://www.stracke.com/voluptatem-magnam-nihil-modi-in-voluptatibus'
                                category:
                                    type: string
                                    description: 'Video Title.'
                                    example: '"Funny videos"'
                                people_ids:
                                    type: array
                                    description: ''
                                    example: [dolores]
                                    items: { type: string }
                                tag_ids:
                                    type: array
                                    description: ''
                                    example: [itaque]
                                    items: { type: string }
                            required:
                                - title
                                - description
                                - thumbnail
                                - date
                                - url
                                - category
    '/api/videos/{video}':
        get:
            summary: "Show Video\nReturns a single marketing plan"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 72
                                    title: 'Maiores quae minus vel vero consequatur.'
                                    description: 'Et minus ut ex et impedit corporis dolorum. Cum quo doloribus voluptatem laudantium odit.'
                                    category: adipisci
                                    thumbnail: 'https://via.placeholder.com/640x480.png/0022ff?text=quia'
                                    date: '1995-01-23T00:00:00.000000Z'
                                    url: 'http://hodkiewicz.org/in-sit-quia-ut-voluptatem-animi'
                                    video_views: null
                                    original_url_views: null
                                    popularity: null
                                    original_url: null
                                    tags: []
                                    people: []
                                properties:
                                    id: { type: integer, example: 72 }
                                    title: { type: string, example: 'Maiores quae minus vel vero consequatur.' }
                                    description: { type: string, example: 'Et minus ut ex et impedit corporis dolorum. Cum quo doloribus voluptatem laudantium odit.' }
                                    category: { type: string, example: adipisci }
                                    thumbnail: { type: string, example: 'https://via.placeholder.com/640x480.png/0022ff?text=quia' }
                                    date: { type: string, example: '1995-01-23T00:00:00.000000Z' }
                                    url: { type: string, example: 'http://hodkiewicz.org/in-sit-quia-ut-voluptatem-animi' }
                                    video_views: { type: string, example: null }
                                    original_url_views: { type: string, example: null }
                                    popularity: { type: string, example: null }
                                    original_url: { type: string, example: null }
                                    tags: { type: array, example: [] }
                                    people: { type: array, example: [] }
            tags:
                - '3. Video endpoints'
        put:
            summary: "Update Video\nReturns an updated video"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 93816
                                    title: 'Eum repellat velit sed adipisci modi.'
                                    description: 'Velit consequuntur et porro omnis atque. Explicabo excepturi ullam repellat ab quidem quia.'
                                    category: ab
                                    thumbnail: 'https://via.placeholder.com/640x480.png/000022?text=impedit'
                                    date: '1989-12-12T00:00:00.000000Z'
                                    url: 'http://www.schamberger.info/iste-sunt-molestias-quam-neque-sunt-rerum'
                                    video_views: null
                                    original_url_views: null
                                    popularity: null
                                    original_url: null
                                    tags: []
                                    people: []
                                properties:
                                    id: { type: integer, example: 93816 }
                                    title: { type: string, example: 'Eum repellat velit sed adipisci modi.' }
                                    description: { type: string, example: 'Velit consequuntur et porro omnis atque. Explicabo excepturi ullam repellat ab quidem quia.' }
                                    category: { type: string, example: ab }
                                    thumbnail: { type: string, example: 'https://via.placeholder.com/640x480.png/000022?text=impedit' }
                                    date: { type: string, example: '1989-12-12T00:00:00.000000Z' }
                                    url: { type: string, example: 'http://www.schamberger.info/iste-sunt-molestias-quam-neque-sunt-rerum' }
                                    video_views: { type: string, example: null }
                                    original_url_views: { type: string, example: null }
                                    popularity: { type: string, example: null }
                                    original_url: { type: string, example: null }
                                    tags: { type: array, example: [] }
                                    people: { type: array, example: [] }
            tags:
                - '3. Video endpoints'
            requestBody:
                required: false
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                title:
                                    type: string
                                    description: ''
                                    example: ipsam
                                description:
                                    type: string
                                    description: ''
                                    example: voluptatem
                                thumbnail:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://hauck.net/illum-aut-maiores-maiores-nostrum-facilis-consequatur'
                                date:
                                    type: string
                                    description: 'The value must be a valid date.'
                                    example: '2021-04-19T13:52:38+0000'
                                url:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://www.feeney.com/quasi-dolore-rerum-aspernatur-voluptas-earum-id-enim.html'
                                original_url:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://gislason.com/'
                                category:
                                    type: array
                                    description: ''
                                    example: [illo]
                                    items: { type: string }
                                people_ids:
                                    type: array
                                    description: ''
                                    example: [labore]
                                    items: { type: string }
                                tag_ids:
                                    type: array
                                    description: ''
                                    example: [illo]
                                    items: { type: string }
        delete:
            summary: "Delete Video\nReturns 200 after successful deletion"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: '200'
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    code: 200
                                    data: {  }
                                    time: 205.7879
                                properties:
                                    code: { type: integer, example: 200 }
                                    data: { type: object, example: {  } }
                                    time: { type: number, example: 205.7879 }
            tags:
                - '3. Video endpoints'
        parameters:
            -
                in: path
                name: video
                description: 'Video Id.'
                example: '1'
                required: true
                schema:
                    type: string
    '/api/videos/{video}/view_add':
        get:
            summary: "View Add\nIncrease View Views by 1"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 664767
                                    title: 'In molestiae fuga ut consequatur veritatis eius.'
                                    description: 'Architecto et culpa quasi ea. Optio deserunt quas odio velit quasi. Incidunt nulla voluptatibus sapiente laudantium ea perferendis in et. Quo vero numquam sapiente beatae quam.'
                                    category: ipsa
                                    thumbnail: 'https://via.placeholder.com/640x480.png/00cc55?text=quidem'
                                    date: '2006-05-14T00:00:00.000000Z'
                                    url: 'http://www.casper.com/est-fugit-eos-tempore-sint-molestiae-dignissimos-ratione.html'
                                    video_views: null
                                    original_url_views: null
                                    popularity: null
                                    original_url: null
                                    tags: []
                                    people: []
                                properties:
                                    id: { type: integer, example: 664767 }
                                    title: { type: string, example: 'In molestiae fuga ut consequatur veritatis eius.' }
                                    description: { type: string, example: 'Architecto et culpa quasi ea. Optio deserunt quas odio velit quasi. Incidunt nulla voluptatibus sapiente laudantium ea perferendis in et. Quo vero numquam sapiente beatae quam.' }
                                    category: { type: string, example: ipsa }
                                    thumbnail: { type: string, example: 'https://via.placeholder.com/640x480.png/00cc55?text=quidem' }
                                    date: { type: string, example: '2006-05-14T00:00:00.000000Z' }
                                    url: { type: string, example: 'http://www.casper.com/est-fugit-eos-tempore-sint-molestiae-dignissimos-ratione.html' }
                                    video_views: { type: string, example: null }
                                    original_url_views: { type: string, example: null }
                                    popularity: { type: string, example: null }
                                    original_url: { type: string, example: null }
                                    tags: { type: array, example: [] }
                                    people: { type: array, example: [] }
            tags:
                - '3. Video endpoints'
        parameters:
            -
                in: path
                name: video
                description: ''
                example: nostrum
                required: true
                schema:
                    type: string
    '/api/videos/{video}/original_url_view_add':
        get:
            summary: "Original Url View Add\nIncrease original url views"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 762
                                    title: 'Mollitia aut numquam molestiae nemo.'
                                    description: 'Et eos voluptatem fuga quibusdam. Vero rem rerum ut officiis aliquid. Debitis omnis qui non. Repudiandae laboriosam iure modi eum laboriosam.'
                                    category: suscipit
                                    thumbnail: 'https://via.placeholder.com/640x480.png/003300?text=dolore'
                                    date: '1988-05-31T00:00:00.000000Z'
                                    url: 'http://www.hoppe.com/soluta-velit-est-maiores-libero-enim-laboriosam'
                                    video_views: null
                                    original_url_views: null
                                    popularity: null
                                    original_url: null
                                    tags: []
                                    people: []
                                properties:
                                    id: { type: integer, example: 762 }
                                    title: { type: string, example: 'Mollitia aut numquam molestiae nemo.' }
                                    description: { type: string, example: 'Et eos voluptatem fuga quibusdam. Vero rem rerum ut officiis aliquid. Debitis omnis qui non. Repudiandae laboriosam iure modi eum laboriosam.' }
                                    category: { type: string, example: suscipit }
                                    thumbnail: { type: string, example: 'https://via.placeholder.com/640x480.png/003300?text=dolore' }
                                    date: { type: string, example: '1988-05-31T00:00:00.000000Z' }
                                    url: { type: string, example: 'http://www.hoppe.com/soluta-velit-est-maiores-libero-enim-laboriosam' }
                                    video_views: { type: string, example: null }
                                    original_url_views: { type: string, example: null }
                                    popularity: { type: string, example: null }
                                    original_url: { type: string, example: null }
                                    tags: { type: array, example: [] }
                                    people: { type: array, example: [] }
            tags:
                - '3. Video endpoints'
        parameters:
            -
                in: path
                name: video
                description: ''
                example: enim
                required: true
                schema:
                    type: string
    '/api/videos/{video}/bookmarks':
        post:
            summary: "Create Bookmark\nCreates a bookmark for a video and returns a bookmark object"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '3. Video endpoints'
            security: []
        delete:
            summary: "Delete Bookmark\nCreates a bookmark for a video and returns a bookmark object"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '3. Video endpoints'
            security: []
        parameters:
            -
                in: path
                name: video
                description: 'Video Id.'
                example: '1'
                required: true
                schema:
                    type: string
    /api/people:
        get:
            summary: "Get People\nReturn a list af people"
            description: ''
            parameters:
                -
                    in: query
                    name: page
                    description: 'Pagination parameter.'
                    example: 1
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 1
                -
                    in: query
                    name: per_page
                    description: 'Pagination parameter.'
                    example: 100
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 100
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    data: [{ id: 59, name: 'Cyril Grady', title: Prof., image: 'https://via.placeholder.com/640x480.png/0044aa?text=sit', updated_at: '2021-04-19T13:52:38.000000Z', created_at: '2021-04-19T13:52:38.000000Z' }, { id: 6046428, name: 'Icie Russel', title: Miss, image: 'https://via.placeholder.com/640x480.png/0077ee?text=aliquid', updated_at: '2021-04-19T13:52:38.000000Z', created_at: '2021-04-19T13:52:38.000000Z' }]
                                properties:
                                    data: { type: array, example: [{ id: 59, name: 'Cyril Grady', title: Prof., image: 'https://via.placeholder.com/640x480.png/0044aa?text=sit', updated_at: '2021-04-19T13:52:38.000000Z', created_at: '2021-04-19T13:52:38.000000Z' }, { id: 6046428, name: 'Icie Russel', title: Miss, image: 'https://via.placeholder.com/640x480.png/0077ee?text=aliquid', updated_at: '2021-04-19T13:52:38.000000Z', created_at: '2021-04-19T13:52:38.000000Z' }], items: { type: object } }
            tags:
                - '4. People endpoints'
        post:
            summary: "Create Person\nReturns a newly created person object"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 94
                                    name: 'Darian Balistreri'
                                    title: Mrs.
                                    image: 'https://via.placeholder.com/640x480.png/000077?text=aspernatur'
                                    updated_at: '2021-04-19T13:52:38.000000Z'
                                    created_at: '2021-04-19T13:52:38.000000Z'
                                properties:
                                    id: { type: integer, example: 94 }
                                    name: { type: string, example: 'Darian Balistreri' }
                                    title: { type: string, example: Mrs. }
                                    image: { type: string, example: 'https://via.placeholder.com/640x480.png/000077?text=aspernatur' }
                                    updated_at: { type: string, example: '2021-04-19T13:52:38.000000Z' }
                                    created_at: { type: string, example: '2021-04-19T13:52:38.000000Z' }
            tags:
                - '4. People endpoints'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                name:
                                    type: string
                                    description: ''
                                    example: eos
                                title:
                                    type: string
                                    description: ''
                                    example: eaque
                                bio:
                                    type: string
                                    description: ''
                                    example: voluptas
                                image:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://haley.com/'
                                video_ids:
                                    type: array
                                    description: ''
                                    example: [enim]
                                    items: { type: string }
                            required:
                                - name
                                - image
    '/api/people/{person}':
        get:
            summary: "Show Video\nReturns a single marketing plan"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 285961
                                    name: 'Chloe Erdman'
                                    title: Mr.
                                    image: 'https://via.placeholder.com/640x480.png/00cc00?text=ut'
                                    updated_at: '2021-04-19T13:52:38.000000Z'
                                    created_at: '2021-04-19T13:52:38.000000Z'
                                properties:
                                    id: { type: integer, example: 285961 }
                                    name: { type: string, example: 'Chloe Erdman' }
                                    title: { type: string, example: Mr. }
                                    image: { type: string, example: 'https://via.placeholder.com/640x480.png/00cc00?text=ut' }
                                    updated_at: { type: string, example: '2021-04-19T13:52:38.000000Z' }
                                    created_at: { type: string, example: '2021-04-19T13:52:38.000000Z' }
            tags:
                - '4. People endpoints'
        put:
            summary: "Update Person\nReturns an updated person"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 91
                                    name: 'Josefina Hauck'
                                    title: Dr.
                                    image: 'https://via.placeholder.com/640x480.png/003344?text=praesentium'
                                    updated_at: '2021-04-19T13:52:38.000000Z'
                                    created_at: '2021-04-19T13:52:38.000000Z'
                                properties:
                                    id: { type: integer, example: 91 }
                                    name: { type: string, example: 'Josefina Hauck' }
                                    title: { type: string, example: Dr. }
                                    image: { type: string, example: 'https://via.placeholder.com/640x480.png/003344?text=praesentium' }
                                    updated_at: { type: string, example: '2021-04-19T13:52:38.000000Z' }
                                    created_at: { type: string, example: '2021-04-19T13:52:38.000000Z' }
            tags:
                - '4. People endpoints'
            requestBody:
                required: false
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                name:
                                    type: string
                                    description: ''
                                    example: soluta
                                title:
                                    type: string
                                    description: ''
                                    example: est
                                bio:
                                    type: string
                                    description: ''
                                    example: at
                                image:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://www.rippin.net/aut-sint-soluta-temporibus-pariatur-impedit-inventore.html'
                                video_ids:
                                    type: array
                                    description: ''
                                    example: [sequi]
                                    items: { type: string }
        delete:
            summary: "Delete Person\nReturns 200 after successful deletion"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: '200'
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    code: 200
                                    data: {  }
                                    time: 205.7879
                                properties:
                                    code: { type: integer, example: 200 }
                                    data: { type: object, example: {  } }
                                    time: { type: number, example: 205.7879 }
            tags:
                - '4. People endpoints'
        parameters:
            -
                in: path
                name: person
                description: 'Video Id.'
                example: '1'
                required: true
                schema:
                    type: string
    /api/tags:
        get:
            summary: "Get Tags\nReturn a list af tags"
            description: ''
            parameters:
                -
                    in: query
                    name: page
                    description: 'Pagination parameter.'
                    example: 1
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 1
                -
                    in: query
                    name: per_page
                    description: 'Pagination parameter.'
                    example: 100
                    required: false
                    schema:
                        type: integer
                        description: 'Pagination parameter.'
                        example: 100
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    data: [{ id: 692644, name: ipsam, color: DodgerBlue, created_at: '1990-07-08T14:46:19.000000Z', updated_at: '2011-08-21T17:36:49.000000Z' }, { id: 765601953, name: dignissimos, color: Tan, created_at: '1997-11-29T20:25:37.000000Z', updated_at: '1971-07-12T01:09:18.000000Z' }]
                                properties:
                                    data: { type: array, example: [{ id: 692644, name: ipsam, color: DodgerBlue, created_at: '1990-07-08T14:46:19.000000Z', updated_at: '2011-08-21T17:36:49.000000Z' }, { id: 765601953, name: dignissimos, color: Tan, created_at: '1997-11-29T20:25:37.000000Z', updated_at: '1971-07-12T01:09:18.000000Z' }], items: { type: object } }
            tags:
                - '4. Tag endpoints'
        post:
            summary: "Create Tag\nReturns a newly created tag object"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 5991428
                                    name: ratione
                                    color: Olive
                                    created_at: '2001-02-07T15:01:24.000000Z'
                                    updated_at: '2013-06-17T04:01:31.000000Z'
                                properties:
                                    id: { type: integer, example: 5991428 }
                                    name: { type: string, example: ratione }
                                    color: { type: string, example: Olive }
                                    created_at: { type: string, example: '2001-02-07T15:01:24.000000Z' }
                                    updated_at: { type: string, example: '2013-06-17T04:01:31.000000Z' }
            tags:
                - '4. Tag endpoints'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                name:
                                    type: string
                                    description: 'Tag name.'
                                    example: '"Nemanja"'
                                color:
                                    type: string
                                    description: ''
                                    example: aliquam
                            required:
                                - name
                                - color
    /api/product_logs:
        get:
            summary: "Get Product Logs\nReturns a list of product logs"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '5. Product Log endpoints'
            security: []
        post:
            summary: "Create Product Log\nReturns a newly created product log"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '5. Product Log endpoints'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                title:
                                    type: string
                                    description: ''
                                    example: quaerat
                                content:
                                    type: string
                                    description: ''
                                    example: et
                                date:
                                    type: string
                                    description: 'The value must be a valid date.'
                                    example: '2021-04-19T13:52:38+0000'
                                category:
                                    type: array
                                    description: ''
                                    example: [ut]
                                    items: { type: string }
                                status_id:
                                    type: number
                                    description: ''
                                    example: 30.637
                                user_notify:
                                    type: boolean
                                    description: ''
                                    example: false
                                image:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://www.beatty.info/possimus-dolores-laborum-non-quis-deserunt-sit-ratione-quas'
                            required:
                                - title
                                - content
                                - date
                                - category
                                - status_id
                                - user_notify
                                - image
            security: []
    '/api/product_logs/{product_log}':
        get:
            summary: "Show Product Log\nReturns a single product log"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: ''
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    id: 69892
                                    title: 'Aliquid sunt deleniti debitis eius eligendi.'
                                    description: 'Qui quibusdam esse consectetur qui qui. Tempora fuga sint aut quisquam. Qui ex et ab necessitatibus. Ut consequatur mollitia corporis adipisci est qui ducimus.'
                                    category: inventore
                                    thumbnail: 'https://via.placeholder.com/640x480.png/002299?text=dolor'
                                    date: '1996-05-05T00:00:00.000000Z'
                                    url: 'http://larkin.com/perspiciatis-perspiciatis-delectus-doloribus-id-voluptatem-et-vero-et.html'
                                    video_views: null
                                    original_url_views: null
                                    popularity: null
                                    original_url: null
                                    tags: []
                                    people: []
                                properties:
                                    id: { type: integer, example: 69892 }
                                    title: { type: string, example: 'Aliquid sunt deleniti debitis eius eligendi.' }
                                    description: { type: string, example: 'Qui quibusdam esse consectetur qui qui. Tempora fuga sint aut quisquam. Qui ex et ab necessitatibus. Ut consequatur mollitia corporis adipisci est qui ducimus.' }
                                    category: { type: string, example: inventore }
                                    thumbnail: { type: string, example: 'https://via.placeholder.com/640x480.png/002299?text=dolor' }
                                    date: { type: string, example: '1996-05-05T00:00:00.000000Z' }
                                    url: { type: string, example: 'http://larkin.com/perspiciatis-perspiciatis-delectus-doloribus-id-voluptatem-et-vero-et.html' }
                                    video_views: { type: string, example: null }
                                    original_url_views: { type: string, example: null }
                                    popularity: { type: string, example: null }
                                    original_url: { type: string, example: null }
                                    tags: { type: array, example: [] }
                                    people: { type: array, example: [] }
            tags:
                - '5. Product Log endpoints'
        put:
            summary: "Update Product Log\nReturns an updated Product log"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '5. Product Log endpoints'
            requestBody:
                required: false
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                title:
                                    type: string
                                    description: ''
                                    example: facilis
                                content:
                                    type: string
                                    description: ''
                                    example: est
                                date:
                                    type: string
                                    description: 'The value must be a valid date.'
                                    example: '2021-04-19T13:52:38+0000'
                                category:
                                    type: array
                                    description: ''
                                    example: [repudiandae]
                                    items: { type: string }
                                status:
                                    type: number
                                    description: ''
                                    example: !!float 7013
                                user_notify:
                                    type: boolean
                                    description: ''
                                    example: false
                                image:
                                    type: string
                                    description: 'The value must be a valid URL.'
                                    example: 'http://www.emard.info/'
        delete:
            summary: "Delete Product Log\nReturns 200 after successful deletion"
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses:
                200:
                    description: '200'
                    content:
                        application/json:
                            schema:
                                type: object
                                example:
                                    code: 200
                                    data: {  }
                                    time: 205.7879
                                properties:
                                    code: { type: integer, example: 200 }
                                    data: { type: object, example: {  } }
                                    time: { type: number, example: 205.7879 }
            tags:
                - '5. Product Log endpoints'
        parameters:
            -
                in: path
                name: product_log
                description: 'Product Log Id.'
                example: '1'
                required: true
                schema:
                    type: string
    '/api/product_logs/{product_log}/comments':
        get:
            summary: 'Get Comments'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '6. Comment endpoints'
            security: []
        post:
            summary: 'Create a comment'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '6. Comment endpoints'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                comment:
                                    type: string
                                    description: ''
                                    example: eius
                            required:
                                - comment
            security: []
        parameters:
            -
                in: path
                name: product_log
                description: ''
                example: voluptatum
                required: true
                schema:
                    type: string
    '/api/product_logs/{product_log}/comments/{comment}':
        get:
            summary: 'Show comment'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '6. Comment endpoints'
            security: []
        put:
            summary: 'Update a comment'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '6. Comment endpoints'
            requestBody:
                required: false
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                comment:
                                    type: string
                                    description: ''
                                    example: qui
            security: []
        delete:
            summary: 'Delete comment'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '6. Comment endpoints'
            security: []
        parameters:
            -
                in: path
                name: product_log
                description: ''
                example: reprehenderit
                required: true
                schema:
                    type: string
            -
                in: path
                name: comment
                description: ''
                example: quos
                required: true
                schema:
                    type: string
    '/api/product_logs/{product_log}/reactions':
        get:
            summary: "Get Reactions\n Get reactions for a single product log"
            description: ''
            parameters:
                -
                    in: query
                    name: current
                    description: 'Determines if the rections should be returned only for teh current user. Send either true or dont send at all.'
                    example: 'true'
                    required: false
                    schema:
                        type: string
                        description: 'Determines if the rections should be returned only for teh current user. Send either true or dont send at all.'
                        example: 'true'
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '7. Reaction endpoints'
        post:
            summary: 'Create Reaction'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '7. Reaction endpoints'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                reaction:
                                    type: string
                                    description: ''
                                    example: nam
                            required:
                                - reaction
            security: []
        parameters:
            -
                in: path
                name: product_log
                description: 'Optional parameter. ID of the product log.'
                required: true
                schema:
                    type: integer
                examples:
                    omitted:
                        summary: 'When the value is omitted'
                        value: ''
                    present:
                        summary: 'When the value is present'
                        value: 1
    '/api/product_logs/{product_log}/reactions/{reaction}':
        put:
            summary: 'Update Reaction'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '7. Reaction endpoints'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            type: object
                            properties:
                                reaction:
                                    type: string
                                    description: ''
                                    example: aperiam
                            required:
                                - reaction
            security: []
        delete:
            summary: 'Delete Reaction'
            description: ''
            parameters:
                -
                    in: header
                    name: Content-Type
                    description: ''
                    example: application/json
                    schema:
                        type: string
                -
                    in: header
                    name: Accept
                    description: ''
                    example: application/json
                    schema:
                        type: string
            responses: {  }
            tags:
                - '7. Reaction endpoints'
            security: []
        parameters:
            -
                in: path
                name: product_log
                description: 'Optional parameter. ID of the product log.'
                required: true
                schema:
                    type: integer
                examples:
                    omitted:
                        summary: 'When the value is omitted'
                        value: ''
                    present:
                        summary: 'When the value is present'
                        value: 1
            -
                in: path
                name: reaction
                description: 'Optional parameter. ID of the reaction.'
                required: true
                schema:
                    type: integer
                examples:
                    omitted:
                        summary: 'When the value is omitted'
                        value: ''
                    present:
                        summary: 'When the value is present'
                        value: 1
