Fields

Field Description Required
name The project's name. YES
media The media's id ("Media" API) used by the project. NO

Loads a collection of available entities. The loaded collection is paginated. An optional "search" parameter is available to filter the result on the entities' name and id (ex.: "//hv-project-info?search=SearchValue").

Request

EndPoint

https://services.adways.com/hv-project-info

Headers

Header Value
Accept
application/vnd.hv-project.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.hv-project.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
    "_links": {
        "self": {
            "href": "/hv-project-info"
        },
        "first": {
            "href": "/hv-project-info?page={page}"
        },
        "prev": {
            "href": "/hv-project-info?page={page}"
        },
        "next": {
            "href": "/hv-project-info?page={page}"
        },
        "last": {
            "href": "/hv-project-info?page={page}"
        }
    },
    "_embedded": {
        "collection": [
            {
                "id": "",
                "created": "",
                "author": "",
                "updated": "",
                "updator": "",
                "level": "",
                "state": "",
                "name": "The project's name.",
                "media": "The media's id ("Media" API) used by the project.",
                "_links": {
                    "self": {
                        "href": "/hv-project-info[/:hv_project_info_id]"
                    }
                }
            }
        ]
    }
}						

Creates an entity in HVProjectInfo. Required fields are in the API fields description above. Note that on success, the returned http status is "201, Created".

Request

EndPoint

https://services.adways.com/hv-project-info

Headers

Header Value
Accept
application/vnd.hv-project.v1+json
application/hal+json
application/json
Content-Type
application/vnd.hv-project.v1+json
application/json
text/plain

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 201: Created
  • 400: Client Error
  • 422: Unprocessable Entity
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.hv-project.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
    "id": "",
    "created": "",
    "author": "",
    "updated": "",
    "updator": "",
    "level": "",
    "state": "",
    "name": "The project's name.",
    "media": "The media's id ("Media" API) used by the project.",
    "_links": {
        "self": {
            "href": "/hv-project-info[/:hv_project_info_id]"
        }
    }
}						

Loads the entity with the given id.

Request

EndPoint

https://services.adways.com/hv-project-info[/:hv_project_info_id]

Headers

Header Value
Accept
application/vnd.hv-project.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.hv-project.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
    "id": "",
    "created": "",
    "author": "",
    "updated": "",
    "updator": "",
    "level": "",
    "state": "",
    "name": "The project's name.",
    "media": "The media's id ("Media" API) used by the project.",
    "_links": {
        "self": {
            "href": "/hv-project-info[/:hv_project_info_id]"
        }
    }
}						

Updates a subset of the entity with the given id (only the modified fields are required).

Request

EndPoint

https://services.adways.com/hv-project-info[/:hv_project_info_id]

Headers

Header Value
Accept
application/vnd.hv-project.v1+json
application/hal+json
application/json
Content-Type
application/vnd.hv-project.v1+json
application/json
text/plain

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found
  • 400: Client Error
  • 422: Unprocessable Entity
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.hv-project.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
    "id": "",
    "created": "",
    "author": "",
    "updated": "",
    "updator": "",
    "level": "",
    "state": "",
    "name": "The project's name.",
    "media": "The media's id ("Media" API) used by the project.",
    "_links": {
        "self": {
            "href": "/hv-project-info[/:hv_project_info_id]"
        }
    }
}						

Updates the entire entity with the given id (all the fields are required).

Request

EndPoint

https://services.adways.com/hv-project-info[/:hv_project_info_id]

Headers

Header Value
Accept
application/vnd.hv-project.v1+json
application/hal+json
application/json
Content-Type
application/vnd.hv-project.v1+json
application/json
text/plain

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 200: OK
  • 404: Not Found
  • 400: Client Error
  • 422: Unprocessable Entity
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.hv-project.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed

Body

{
    "id": "",
    "created": "",
    "author": "",
    "updated": "",
    "updator": "",
    "level": "",
    "state": "",
    "name": "The project's name.",
    "media": "The media's id ("Media" API) used by the project.",
    "_links": {
        "self": {
            "href": "/hv-project-info[/:hv_project_info_id]"
        }
    }
}						

Deletes the entity with the given id. Note that on success, the returned http status is "204, Entity has been deleted".

Request

EndPoint

https://services.adways.com/hv-project-info[/:hv_project_info_id]

Headers

Header Value
Accept
application/vnd.hv-project.v1+json
application/hal+json
application/json

Response

Status Codes

  • 406: Not Acceptable
  • 415: Unsupported Media Type
  • 204: No Content
  • 404: Not Found
  • 403: Forbidden

Headers

Header Value
Content-Type
application/vnd.hv-project.v1+json
application/hal+json
application/json
Allow Comma-separated list of all HTTP methods allowed