Documentation pluralizers

Avatar image for kallin
Kallin

54

Forum Posts

35

Wiki Points

0

Followers

Reviews: 1

User Lists: 2

#1  Edited By Kallin

I just started taking a look at the api. Pretty cool stuff!

I was getting errors at first because the docs say things like:

accessories
Resource: /accessory/

This made me think that I should have /accessory/ in the url, when i actually need /accessories/ .

Cheers!



Avatar image for kallin
Kallin

54

Forum Posts

35

Wiki Points

0

Followers

Reviews: 1

User Lists: 2

#2  Edited By Kallin

NVM that, I see they are both options.

Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#3  Edited By LordAndrew

Yep, two different things. The accessories resource provides a list of accessories, and the accessory resource retrieves a single specified accessory.