Add deployment type shortname for legacy API url (#2026)

* Add deployment type shortname for legacy API url

* Add trailing slash to legacy API url

Co-authored-by: Christian Adams <rooftopcellist@gmail.com>

---------

Co-authored-by: Christian Adams <rooftopcellist@gmail.com>
This commit is contained in:
jamesmarshall24
2025-03-05 15:04:01 -05:00
committed by GitHub
parent 039157d070
commit 5bb2b2ac87
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
---
deployment_type: awx
deployment_type_shortname: awx
kind: 'AWX'
api_version: '{{ deployment_type }}.ansible.com/v1beta1'

View File

@@ -66,7 +66,7 @@ data:
<p class="doc-note">
The API endpoints for this platform service will temporarily remain available at the URL for this service.
Please use the Ansible Automation Platform API endpoints corresponding to this component in the future.
These can be found at <a href="{{ public_base_url }}/api/{{ deployment_type }}" target="_blank">{{ public_base_url }}/api/{{ deployment_type }}</a>.
These can be found at <a href="{{ public_base_url }}/api/{{ deployment_type_shortname }}" target="_blank">{{ public_base_url }}/api/{{ deployment_type_shortname }}/</a>.
</p>
<!-- Include any additional scripts if needed -->