Images

Index Action

Parameter Abbreviation Data Type
limit lt INTEGER
offset ot INTEGER
network_id nid INTEGER

Output

{
  "Images": [<INTEGER>, ...],
  "StatusCode": <INTEGER>
}

Example Requests

http://api.ostar.inf.unibz.it/0/images?lt=5&ot=1
{
  "Images": [1, 2, 3, 4, 5],
  "StatusCode": 0
}

Show Action

Parameter Abbreviation Data Type
network_id nid INTEGER

Output

{
  "Image": {
    "Id": <INTEGER>,
    "Url": <STRING>,
    "Name": <STRING>,
    "Description": <STRING>
  },
  "StatusCode": <INTEGER>
}

Example Requests

http://api.ostar.inf.unibz.it/0/images/1
{
  "Image": {
    "Id": 1,
    "Url": "http://static.ostar.inf.unibz.it/images/1-1.jpg",
    "Name": "Voluptatem enim perspiciatis sint accusantium laboriosam sit.",
    "Description": "Aut quis sed alias dolore enim consequuntur aut enim architecto."
  },
  "StatusCode": 0
}

Multishow Action

Parameter Abbreviation Data Type
ids ids IDS
network_id nid INTEGER

Output

{
  "Images": [{
    "Id": <INTEGER>,
    "Url": <STRING>,
    "Name": <STRING>,
    "Description": <STRING>
  }, ...],
  "StatusCode": <INTEGER>
}

Example Requests

http://api.ostar.inf.unibz.it/0/images/multishow?ids=1,3
{
  "Images": [
    {
      "Id": 1,
      "Url": "http://static.ostar.inf.unibz.it/images/1-1.jpg",
      "Name": "Voluptatem enim perspiciatis sint accusantium laboriosam sit.",
      "Description": "Aut quis sed alias dolore enim consequuntur aut enim architecto."
    },
    {
      "Id": 3,
      "Url": "http://static.ostar.inf.unibz.it/images/1-3.jpg",
      "Name": "Placeat nostrum maiores aut deserunt sunt impedit a.",
      "Description": "Asperiores qui qui rerum cum sit dignissimos sunt mollitia quaerat."
    }
  ],
  "StatusCode": 0
}