Open rob05c opened 5 years ago
is this still applicable @rob05c ? are there TM endpoints still not documented?
The TM API is partially and "unacceptably" (according to the guidelines) documented. Note that all of the endpoints listed still have their associated problems. So, yes.
The TM API has docs: https://traffic-control-cdn.readthedocs.io/en/latest/development/traffic_monitor/traffic_monitor_api.html
But they're incomplete, and not in a very visible place.
We should document all the endpoints. The endpoints are all linked from the monitor's HTTP page, they just need added to the docs.
We should also probably put the Monitor API docs in a more visible place. Maybe create a unified root "APIs" doc page, with links to the APIs of every component?
/api/bandwidth-capacity-kbps
/api/bandwidth-kbps
/api/cache-available-count
/api/cache-count
/api/cache-down-count
/api/cache-statuses
/api/crconfig-history
/api/monitor-config
/api/traffic-ops-uri
/api/version
/publish/CacheStats
/publish/CacheStats/{{hostname}}
/publish/CacheStatsNew
/publish/ConfigDoc
/publish/CrConfig
/publish/CrStates
/publish/DsStats
/publish/DsStats/{{xmlId}}
/publish/EventLog
ipv4Available
andipv6Available
are undocumented/publish/PeerStates
/publish/Stats
/publish/StatSummary