Haier > Projects


List

GET : /api/haier/v1/projects

PAGE 1

{
    "code": 1,
    "account_id": 0,
    "message": "Successful operation",
    "data": [
        {
            "id": 0,
            "image": url,
            "link": url,
        } ,
        ...
    ]
}

PAGE 2

{
    "code": 1,
    "account_id": 0,
    "message": "Successful operation",
    "data": {
        "has_more_page": 0 / 1,
        "data": [
            {
                "id": 0,
                "type": 0,
                "image": url,
                "title": "",
                "sub_title": "",
                "collect": 0,
                "recommended": 0,
                "price": "0.00",
                "progress": 100
            } ,
            ...
        ],
    }
}

Show

GET : /api/haier/v1/projects/{projectID}

projectID : the ID of the current project

Response

{
    "code": 1,
    "account_id": 0,
    "message": "Successful operation",
    "data": {
        "is_designer": 0,
        "designer_id": 0,
        "account_id": 0,
        "account_type": 0,
        "status": 0,
        "types": {
            "type": 0,
            "stage": 0,
            "amount": "",
            "pcs": 0,
            "date": "",
            "started_time": Y-m-d,
            "like": 0,
            "is_like": 0,
            "progress": 100,
            "designer": {
                "name": "",
                "location": ""
            },
            "link": "",
            "view_count": 17
        },
        "videos": [
            {
                "id": 0,
                "url": url
            },
            ...
        ],
        "products": [
            {
                "id": 0,
                "title": "",
                "image": "",
                "is_once": 0,
                "code": "",
                "price": "0.00",
                "sorting_order": 0
            },
            ...
        ],
        "images": {
            "header": {
                "id": 0,
                "url": url
            },
            "small": {
                "id": 0,
                "url": url
            },
            "banners": {
                "slider": [
                    {
                        "id": 0,
                        "url": url
                    } ,
                    ...
                ],
                "static": [
                    {
                        "id": 0,
                        "url": url
                    } ,
                    ...
                ]
            },
            "features": [
                {
                    "id": 0,
                    "url": url ,
                    "title" : "" ,
                    "content" : "" ,
                } ,
                ...
            ]
        },
        "resume": {
            "title": "",
            "sub_title": "",
            "description": "",
            "categories": [
                {
                    "id": 0,
                    "category_id": 0,
                    "name": ""
                },
            ],
            "tags": {
                "admin": [
                    {
                        "id": 0,
                        "type": 0,
                        "value": ""
                    },
                    ...
                ],
                "custom": [
                    {
                        "type": 0,
                        "value": ""
                    },
                    ...
                ]
            }
        },
        "specs": [
            {
                "id": 0,
                "title": "",
                "image": "",
                "manual": "",
                "code": "",
                "specs": [
                    {
                        "type": "dimension",
                        "value": "40x10x500cm",
                        "order": 0
                    },
                    ...
                ]
            },
            ...
        ]
    }
}