Documented how to order results

This commit is contained in:
Alejandro Celaya
2016-10-22 23:13:54 +02:00
parent 9ac48bfbc5
commit 0b9753582d
3 changed files with 21 additions and 2 deletions

View File

@@ -90,6 +90,19 @@
}
}
},
{
"name": "orderBy",
"in": "query",
"description": "The field from which you want to order the result. (Since v1.3.0)",
"enum": [
"originalUrl",
"shortCode",
"dateCreated",
"visits"
],
"required": false,
"type": "string"
},
{
"$ref": "#/parameters/Authorization"
}