Welcome to the documentation of the Picturae Webkitchen components, on this website you can find information how to implement our components on your own website.

You can also try the demo to see how our application should behave. In case you have any questions you can contact us at contact@picturae.com.

Picturae Webkitchen - Webexpo

Webexpo - recipes and ingredients

The following page gives information about the available endpoints and their parameters

  • /expo

                    
    Search expositions, this endpoint receives the following parameters:
    (use filter values without the {} signs)
    q={searchterm} global search term could search on specific fields e.g. field:{term}
    page={number} result offset
    rows={number} amount of rows to return in resultset, default 100 max 1000
    facetFields[]={field1} Field to return facets for
    facetFields[]={field2} Field to return facets for
    fq[]={field1:"value x"} Apply filter to query
    fq[]={field2:"value y"} Apply filter to query
    sort={field asc, field2 desc} sort by field, to generate a random result it is possible to order on random{time} asc
    Example request: /expo/?apiKey=8b896a87-ca04-44a7-9fb3-270102e28d97&q=*:*&page=1&rows=1&facetFields[]=tags&facetFields[]=strings_s_v1_vervaardigers&facetLimit=2&fq[]=string_s_v1_uiterlijke_vorm:"foto's"
    Errors will always be shown in error property example:
    
    { "error": {
          "code": 400,
          "message": "undefined field: \"title_x\""
    }}
    
    
                
  • /expo/{id:\{?[0-9a-f]{8}\-?[0-9a-f]{4}\-?[0-9a-f]{4}\-?[0-9a-f]{4}\-?[0-9a-f]{12}\}?}

                    
    Get the details of exposition
    Request:
    Example /expo/0031bb22-66f5-11e3-90a8-836b6c51694e?apiKey=8b896a87-ca04-44a7-9fb3-270102e28d97
    Example response:
    
    {
      "expo":[
         {
            "id":"265e0297-c01a-4d7f-b4d3-e46dca71d301",
            "title":[
               "Test 2"
            ],
            "sub_title":[
               "subtitle"
            ],
            "period":[
               "period"
            ],
            "description":[
               "description"
            ],
            "background_image":{
               "thumb":"https:\/\/images.memorix.nl\/amc\/thumb\/640x480\/2174d29a-84c2-4cf9-e69c-4b84d7706a67.jpg",
               "topview":"http:\/\/images.memorix.nl\/amc\/topviewjson\/memorix\/2174d29a-84c2-4cf9-e69c-4b84d7706a67"
            },
            "content":{
               "objects":[
                  {
                     "col":"1",
                     "row":"1",
                     "size_x":"1",
                     "size_y":"1",
                     "type":"video",
                     "data":{
                        "url":"http:\/\/www.youtube.com\/watch?v=anLDCVD6v1s"
                     }
                  }
               ]
            },
            "links":{
               "expo":"http:\/\/webexpo.zend.picturae.pro\/expo\/265e0297-c01a-4d7f-b4d3-e46dca71d301"
            }
         }
      ]
    }
    
    Errors will always be shown in error property example:
    
    {
      "error": {
         "code": 400,
         "message": "undefined field: \"strinxg_s_v1_uiterlijke_vorm\""
      }
    }