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.

OC/CI/configuration/request/{{ID}}/{{approved}} should use alerts for alert-like information #6716

@ocket8888

Description

@ocket8888

This Bug Report affects these Traffic Control components:

  • Traffic Ops

Current behavior:

The response from a PUT request to OC/CI/configuration/request/{{ID}}/{{approved}} is:

{ "response": "Successfully updated configuration." }

(or similar for denials)

Expected behavior:

According to our API guidelines on response bodies:

The response property of a serialized response object MUST only contain object representations as requested by the client. In particular, it MUST NOT contain admonitions, success messages, informative messages, or statistic summaries beyond the scope requested by the client.

So what is currently the response should be a success-level Alert

Steps to reproduce:

Read the docs/make the request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedlow difficultythe estimated level of effort to resolve this issue is lowlow impactaffects only a small portion of a CDN, and cannot itself break one

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions