So I'm using Apiary to hold and array of data, and then call the data to display on HTML but I only want Apiary to send a limited amount of data to HTML, not the full array. Still trying to get my head around Apiary syntax, so just wondering if I'm heading in the right direction (or would I be doing this via the frontend?), because what I'm using doesn't work and the documentation isn't clear to me :
##news updates [/articles{?limit}]
###Get all news [GET]
+ Parameters
+ limit (number, optional)
+ Default: '3'
+ Request
+ Header
Authorization: Basic dXNlcjpwYXNzd29yZA==
x-api-verson: 1.0
+ Response 200 (application/json)
{
"articles": [
{
*array item one*
},
{
*array item two*
},
{
*array item three*
},
{
*array item four*
},
]
}