Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
contact: {}
license: {}
title: Apptio Versioncompatibility V1 API
description: Operations for Version Compatibility
tags:
- name: versioncompatibility-v1
description: Operations for Version Compatibility
paths:
/api/versioncompatibility/flagshipcontentmapping:
put:
tags:
- versioncompatibility-v1
summary: Updates a FlagshipContentMapping
description: 'Updates a FlagshipContentMapping, requires the contentVersion to find the content to update
JSON Parameters:
contentVersion: version of the content
contentUrl: (Optional) url of the content
minFlagshipVersion: (Optional) minimum Flagship version compatible with this content
maxFlagshipVersion: (Optional) maximum Flagship version that is NOT compatible with this content, defaults to null
minCdsVersion: (Optional) minimum CDS version compatible with this content
maxCdsVersion: (Optional) maximum CDS version that is NOT compatible with this content, defaults to null
Returns:
FlagshipContentMapping object that was updated
Permissions:
To update a FlagshipContentMapping, the logged in User must have FDAdmin role.'
operationId: updateFlagshipcontentMapping
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FlagshipContentMapping'
required: true
responses:
'200':
description: ' Updated'
content:
application/json:
schema:
$ref: '#/components/schemas/FlagshipContentMapping'
'400':
description: Invalid data submitted
'404':
description: ' specified does not exist'
'403':
description: You don't have the required permissions to perform this operation.
post:
tags:
- versioncompatibility-v1
summary: Creates a FlagshipContentMapping
description: 'Creates a FlagshipContentMapping
The {@link FlagshipContentMapping#contentVersion} serves as the primary key of the mapping.Whenever a new ContentVersion is released it should be created with this API'' call providing the right min/max versions of flagship and cds.
For example assume existing record''s are as below:
content_versioncontent_urlmin_flagshipmax_flagshipmin_cdsmax_cds1.0.0url12.010.0
This means ContentVersion 1.0.0 is compatible where flagshipVersion >= 12.0 and CdsVersion >= 11.0
And now a new ContentVersion 1.0.1, FlagshipVersion 13.0 and CdsVersion 11.0 are released and they are backward compatible, then we should be add a new record for ContentVersion 1.0.1:
content_versioncontent_urlmin_flagshipmax_flagshipmin_cdsmax_cds1.0.0url12.010.0
1.0.1url12.010.0
In case the new versions are NOT backward compatible then we should first add the below record:
content_versioncontent_urlmin_flagshipmax_flagshipmin_cdsmax_cds1.0.1url13.011.0
And we should update the existing records to have the right max_flagship and max_cds versions as below:
content_versioncontent_urlmin_flagshipmax_flagshipmin_cdsmax_cds1.0.0url12.013.010.011.0
1.0.1url13.011.0
JSON Parameters:
contentVersion: version of the content
contentUrl: url of the content
minFlagshipVersion: minimum Flagship version compatible with this content
maxFlagshipVersion: (Optional) maximum Flagship version that is NOT compatible with this content, defaults to null
minCdsVersion: minimum CDS version compatible with this content
maxCdsVersion: (Optional) maximum CDS version that is NOT compatible with this content, defaults to null
Returns:
FlagshipContentMapping object that was created
Permissions:
To create a FlagshipContentMapping, the logged in User must have FDAdmin role.'
operationId: createFlagshipcontentMapping
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FlagshipContentMapping'
required: true
responses:
'201':
description: FlagshipContentMapping created
content:
application/json:
schema:
$ref: '#/components/schemas/FlagshipContentMapping'
'400':
description: Invalid data submitted
'403':
description: You don't have the required permissions to perform this operation.
delete:
tags:
- versioncompatibility-v1
summary: Deletes a
description: 'Deletes a , requires the contentVersion to find the content to delete
JSON Parameters:
contentVersion: version of the content
Permissions:
To delete a , the logged in User must have FDAdmin role.'
operationId: deleteFlagshipcontentMapping
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FlagshipContentMapping'
required: true
responses:
'204':
description: ' deleted'
'404':
description: ' specified does not exist'
'403':
description: You don't have the required permissions to perform this operation.
components:
schemas:
FlagshipContentMapping:
required:
- contentUrl
- contentVersion
- minCdsVersion
- minFlagshipVersion
type: object
properties:
contentVersion:
type: string
contentUrl:
type: string
minFlagshipVersion:
type: string
maxFlagshipVersion:
type: string
minCdsVersion:
type: string
maxCdsVersion:
type: string
createDate:
type: string
format: date-time
createdBy:
type: string
modifiedDate:
type: string
format: date-time
updatedBy:
type: string