[ 
https://issues.apache.org/jira/browse/TC-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dewayne Richardson updated TC-283:
----------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>          Components: Traffic Ops API
>    Affects Versions: 2.1.0
>            Reporter: Dan Kirkwood
>              Labels: api_server
>
> 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.4.14#64029)

Reply via email to