7ff5fC1E397d commented on issue #8095:
URL:
https://github.com/apache/trafficcontrol/issues/8095#issuecomment-2439964360
Testing **2** seems the part I missed
```bash
curl -X POST ... api/5.0/federations/2/deliveryservices" -H "Content-Type:
application/json" --data '{"dsIds":[1,2,3,4],"replace":true}'
```
now I can get a list
```json
{
"response": [
{
"id": 1,
"cname": "foo.kabletown.net.",
"ttl": 60,
"description": null,
"lastUpdated": "2024-10-26T07:22:08.45335Z",
"deliveryService": {
"id": 2,
"xmlID": "demo2"
}
},
{
"id": 2,
"cname": "test.quest.",
"ttl": 68,
"description": "A test federation",
"lastUpdated": "2024-10-27T08:27:23.48475Z",
"deliveryService": {
"id": 1,
"xmlID": "demo1"
}
},
{
"id": 2,
"cname": "test.quest.",
"ttl": 68,
"description": "A test federation",
"lastUpdated": "2024-10-27T08:27:23.48475Z",
"deliveryService": {
"id": 2,
"xmlID": "demo2"
}
},
{
"id": 2,
"cname": "test.quest.",
"ttl": 68,
"description": "A test federation",
"lastUpdated": "2024-10-27T08:27:23.48475Z",
"deliveryService": {
"id": 3,
"xmlID": "site1"
}
},
{
"id": 2,
"cname": "test.quest.",
"ttl": 68,
"description": "A test federation",
"lastUpdated": "2024-10-27T08:27:23.48475Z",
"deliveryService": {
"id": 4,
"xmlID": "site2"
}
}
]
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]