All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| can_create_contract | GET /api/v1/capabilities/canCreateContract/{workflowId} | |
| capabilities_get | GET /api/v1/capabilities |
bool can_create_contract(workflow_id)
Checks if user can modify user role mappings
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CapabilitiesApi()
workflow_id = 56 # int | The id of the application
try:
#
api_response = api_instance.can_create_contract(workflow_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CapabilitiesApi->can_create_contract: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| workflow_id | int | The id of the application |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Capabilities capabilities_get()
Checks if user can upload application
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CapabilitiesApi()
try:
#
api_response = api_instance.capabilities_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling CapabilitiesApi->capabilities_get: %s\n" % e)This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]