Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Any API version 3.x call that returns a server object, should return the version appropriate structure  #7085

@srijeet0406

Description

@srijeet0406

When you make a call to a 3.x API endpoint that returns a server object, you get back a version 4.0 specific server representation. This breaks compatibility with clients that are using the 3.x version.

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

Make a call to a version 3.x endpoint like PUT servers/{id} to update an existing server, and notice the server object that you get back in the response. This is a version 4.0 server object.

Expected behavior:

The returned server object should be consistent with the API version that is being requested by the client.

Steps to reproduce:

Make a call to a version 3.x endpoint like PUT servers/{id} to update an existing server, and notice the server object that you get back in the response. This is a version 4.0 server object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opshigh impactimpacts the basic function, deployment, or operation of a CDNlow difficultythe estimated level of effort to resolve this issue is lowregression buga bug in existing functionality introduced by a new version

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions