Swagger API changes since 20.11-LTS #12077512/HEAD / v482 |
Tags:
not added yet
Table of Contents
Differences between codebeamer API JSONsThere are specific differences resulting from changes in the codebeamer API JSON, these differences are presented in the below diff report files. The files contain information about what has been added, removed, or replaced (including the operation executed - add, remove, replace, API paths, request parameters and default parameter values, example responses, etc.) in the Swagger API documentation between different codebeamer versions:
Swagger API changes - 22.10-LTS (GINA)Test Run ChangesEndpoint changes
Swagger API changes - 22.04 (FELICITY)Wiki-Text ChangesReferences to attachments in Wiki-Text are added based on attachments IDs instead of attachment names. Even so the ID-based syntax is not new it has not been commonly used before. The old name based syntax is still supported and will not be converted, therefore integrations interpreting the attachment references in Wiki-Text will have to support both types of references.
Example: Old Syntax [!1639645149914.png!]
New Syntax (potentially will be adjusted in final release) [CB:/displayDocument/1639645149914.png?artifact_id=309875&version=1|CB:/displayDocument/1639645149914.png?artifact_id=309875&version=1] Test Run ChangesNew endpoint
Swagger API changes - 21.09 (EMMA)Breaking changesDue to internal changes from 21.09 (Emma) the hashes of the tracker item attachment is calculated with SHA-512 algorithm therefore the Attachment model has changed.
Unknown properties are rejected in JSON payloadFrom 21.09 (Emma) codebeamer will reject the unknown properties in any Swagger communication model. For Example this will be rejected: { "id": 1091, "name": "Optimize routing algorithm1", "foo": "bar", "descriptionFormat": "Wiki", ... }
with the following HTTP 400 - Bad request error message: { "message": "JSON parse error: Unrecognized field \"foo\" ... } New functionalityNew endpoints added to
Models are extended:
Item tags included in JSONFrom 21.09-SP3, if present, tags of an item are included in the response when calling issues/defects via the API. Input parameter changes in project contentPOST /v3/projects/{projectId}/content endpoint parameters changed:
Swagger API changes - 21.04 (DOROTHY)Test management
Swagger API changes - 20.11-SP4 (CARMEN)Tracker itemEndpoint changes
Swagger API changes - 20.11-LTS (CARMEN)This page summarizes the API changes needs to be considered during the codebeamer upgrade to 20.11 (Carmen). User dataPermissionsUser data access has been revised and from 20.11 (Carmen) they can only be accessed with the proper permissions.
These permissions can configured on user group level: {codebeamer url}/sysadmin/userGroups.spr?groupId={groupId}
For Example in case the API user doesn't have Account - View Email Address permissions the email property won't be populated in the User and UserReference models. Extended UserReference modelFollowing the feedback of our customers we have extended the UserReference to contain the e-mail address of the referenced account. This only happens if the Account - View Email Address permission is granted for the API user (see the details in the previous section). { "id": 123, "name": "user_name", "type": "UserReference", "email": "user@example.com" }, Accounts - Admin permission checksAs a result of the proper user data permission checks we have removed the restrictions on every user related endpoint. Since 20.11 (Carmen) the following endpoints won't need Accounts - Admin user group permission to be called:
Getting project membersWe have introduced two new endpoints to retrieve members of a given project. These endpoints need specific permission settings:
Tracker itemUpdate of Parent fieldThe users were able to update the Parent field of the item using the POST /v3/items/{itemId}/fields and this could've caused inconsistent tracker outline in case when the parent item was from an incompatible tracker. From 20.11 (Carmen) the Parent cannot be set to tracker item from another tracker. New endpoints
TrackerNew endpoints
Endpoint changes
Swagger API changes starting with codebeamer 20.11-SP3
|
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server for the purpose of improving the Codebeamer user experience.