Change instanceId to instance_id for the Item API

Description

The resource bodies described by JSON.Schema need to respect JSON naming conventions.

The instance ID represented in an item used pascal case and so needs changing to use an underscore instead.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Marc JohnsonJanuary 19, 2017 at 1:55 PM

I think I might have got confused, I saw some fields that use underscores and thought I'd seen something which confirmed that this was the correct approach. Having looked again, I can't find that and camel case is the most popular it seems.

Jakub SkoczenJanuary 19, 2017 at 11:56 AM

Marc, I think in Okapi and some other APIs we have been using the CameCase convention. Is underscore conventions preferred in JSON and if so can you link to the spec. I am in favour of CamelCase but consistency is most important.

Won't Do

Details

Assignee

Reporter

Labels

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created January 19, 2017 at 11:50 AM
Updated January 19, 2017 at 1:55 PM
Resolved January 19, 2017 at 1:55 PM
TestRail: Cases
TestRail: Runs