Two-step verification REST API
Bamboo 10.1 has implemented two-step verification, which includes new REST API for authentication and a new login screen. For plugins that interact with the pre-existing login screen, it is worth noting that compatibility may break and changes will be required.
Some key REST API additions worth calling out:
POST /tsv/latest/authenticateauthenticates as the given userPOST /tsv/latest/authenticate/totp-codeauthenticates as the given user using a TOTP codePOST /tsv/latest/authenticate/recovery-codeauthenticates as the given user using a recovery codePOST /tsv/latest/statusretrieves the status of two-step verification for the authenticated userPOST /tsv/latest/elevate-permissions/totpelevates permissions for the authenticated user using a TOTP codePOST /tsv/latest/elevate-permissions/recovery-codeelevates permissions for the authenticated user using a recovery codePOST /tsv/latest/elevate-permissions/passwordelevates permissions for the authenticated user using a passwordGET /authconfig/latest/login-optionsreturns a list of available login options, which contains details about the metadata required for the login page
All new REST API related to two-step verification and the new login screen can be found under 'Authentication'.
Last modified on Nov 20, 2024
Powered by Confluence and Scroll Viewport.