@@ -2445,6 +2445,48 @@ paths:
24452445 tags :
24462446 - signatures
24472447
2448+ /user/{userID}/active-signature :
2449+ parameters :
2450+ - $ref : " #/parameters/x-request-id"
2451+ - name : userID
2452+ description : the user ID
2453+ in : path
2454+ type : string
2455+ required : true
2456+ pattern : ' ^[a-fA-F0-9]{8}-?[a-fA-F0-9]{4}-?4[a-fA-F0-9]{3}-?[89ab][a-fA-F0-9]{3}-?[a-fA-F0-9]{12}$' # uuidv4
2457+ get :
2458+ summary : |
2459+ Returns all metadata associated with a user's active signature.
2460+ {
2461+ 'user_id': <user-id>,
2462+ 'project_id': <project-id>,
2463+ 'repository_id': <repository-id>,
2464+ 'pull_request_id': <PR>,
2465+ 'return_url': <url-where-user-initiated-signature-from>'
2466+ }
2467+ Returns null if the user does not have an active signature.
2468+ security : [ ]
2469+ operationId : getUserActiveSignature
2470+ responses :
2471+ ' 200 ' :
2472+ description : ' Success'
2473+ headers :
2474+ x-request-id :
2475+ type : string
2476+ description : The unique request ID value - assigned/set by the API Gateway based on the session
2477+ schema :
2478+ $ref : ' #/definitions/user-active-signature'
2479+ ' 400 ' :
2480+ $ref : ' #/responses/invalid-request'
2481+ ' 401 ' :
2482+ $ref : ' #/responses/unauthorized'
2483+ ' 403 ' :
2484+ $ref : ' #/responses/forbidden'
2485+ ' 404 ' :
2486+ $ref : ' #/responses/not-found'
2487+ tags :
2488+ - signatures
2489+
24482490 /signatures/project/{projectSFID}/company/{companyID}/employee :
24492491 get :
24502492 summary : Get project company signatures for the employees
@@ -5006,6 +5048,9 @@ definitions:
50065048 user :
50075049 $ref : ' ./common/user.yaml'
50085050
5051+ user-active-signature :
5052+ $ref : ' ./common/user-active-signature.yaml'
5053+
50095054 signatures :
50105055 $ref : ' ./common/signatures.yaml'
50115056
0 commit comments