Closed sheshmantha closed 8 years ago
Unfortunately, we cannot support variable uri path parameters yet. So the {particulars}
section of your API will be hard to write in the API Blueprint. Also a good practice for API is that you should send the particulars` as a part of query parameters instead of in the path.
# Group Recommendations
#### SimilarTo [GET /recommendations/similarTo/{titleID}/{titleID2}?limit]
Get titles that are similar to one or more titles
+ Parameters
+ titleID: `crid:~~2fblah` (string, required) - ID of the title
+ titleID2: `crid:~~2fblah2` (string, optional) - ID of another title
+ limit: `25` (number, optional) - Number of recommendations to return
+ Default: `20`
+ Response 200 (application/json)
{
"resultCount": 2,
"similarTitles": [
{
"id": "crid:~~2F~~2Fadrenalin.schange.com~~2Fasset0123456"
}]
}
Hi, I'm having a hard time figuring out the structure of the apib to create for an API I have. In one group, I have two apis:
I've tried various ways of defining them in api-blueprint syntax and am unable to get the Actions properly.
Here is one version that I have... (seems pretty botched up) -- clearly I'm missing something.
Could someone please advise ??