[
https://issues.apache.org/jira/browse/TC-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Kirkwood updated TC-283:
----------------------------
Summary: traffic ops api (PUT api/.../server/...) doc inconsistent with
code (was: traffic ops api (PUT api/.../server/...) inconsistent with code)
> traffic ops api (PUT api/.../server/...) doc inconsistent with code
> -------------------------------------------------------------------
>
> Key: TC-283
> URL: https://issues.apache.org/jira/browse/TC-283
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Ops API
> Affects Versions: 2.1.0
> Reporter: Dan Kirkwood
>
> The Traffic Ops API documentation for "PUT /api/1.2/servers/{:id}" shows that
> "type" is a required field. It's actually "type_id". I think that's true
> for all the fields representing foreign keys.
> Documentation is here:
> http://trafficcontrol.incubator.apache.org/docs/latest/development/traffic_ops_api/v12/server.html
> Code is here:
> https://github.com/apache/incubator-trafficcontrol/blob/master/traffic_ops/app/lib/API/Server.pm#L201
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)