Projects

Projects

GET /project/$project_id

Public Object: Can be accessed without authorization

Get project object.
If a project is for closed communities, the object will only be shown to authorized users.

Parameter Type Comment
$project_id int mandatory
{
  "project": {
    "id": 4,
    "name": "New Cars",
    "title": "Reichweitenvergr\u00f6\u00dferung",
    "closedCommnity": 0,
    "images": {
      "projectImage": {
        "link": {
          "href": "[API]/media/project/4",
          "type": "image/jpeg"
        }
      }
    },
    "language": "de",
    "created": "2013-03-14T11:12:47+01:00",
    "updated": "2013-03-14T11:12:47+01:00",
    "deleted": null,
    "company": { COMPANY DETAILS },
    "type": {
      "id": 1,
      "name": "product"
    }    
  }
}

GET /project/featured

Public Object: Can be accessed without authorization

Returns a list of up to 5 featured projects including their latest 5 suggestions


{
  "projects": [
    {
      "id": 1,
      "name": "Fahrsicherheit",
      "title": "auf dem Weg zum Einsatz",
      "closedCommnity": 0,
      "images": {
        "projectImage": {
          "link": {
            "href": "[API]/media/project/1",
            "type": "image/jpeg"
          }
        }
      },
      "language": "de",
      "created": "2013-02-17T19:31:49+01:00",
      "updated": "2013-02-17T19:31:49+01:00",
      "deleted": null,
      "company": { COMPANY OBJECT },
      "type": {
        "id": 1,
        "name": "product"
      },
      "suggestions": { SUGGESTION OBJECTS }, …
    }, ...
  ]
}