(github )
import speakeasy
from speakeasy .models import operations , shared
s = speakeasy .Speakeasy (
security = shared .Security (
api_key = "<YOUR_API_KEY_HERE>" ,
),
)
res = s .github .github_check_access (request = operations .GithubCheckAccessRequest (
org = '<value>' ,
repo = '<value>' ,
))
if res is not None :
# handle response
pass
operations.GithubCheckAccessResponse
Error Object
Status Code
Content Type
errors.SDKError
4xx-5xx
/
github_check_publishing_secrets
import speakeasy
from speakeasy .models import operations , shared
s = speakeasy .Speakeasy (
security = shared .Security (
api_key = "<YOUR_API_KEY_HERE>" ,
),
)
res = s .github .github_check_publishing_secrets (request = operations .GithubCheckPublishingSecretsRequest (
generate_gen_lock_id = '<value>' ,
))
if res .github_missing_publishing_secrets_response is not None :
# handle response
pass
operations.GithubCheckPublishingSecretsResponse
Error Object
Status Code
Content Type
errors.SDKError
4xx-5xx
/
import speakeasy
from speakeasy .models import shared
s = speakeasy .Speakeasy (
security = shared .Security (
api_key = "<YOUR_API_KEY_HERE>" ,
),
)
res = s .github .github_configure_target (request = shared .GithubConfigureTargetRequest (
org = '<value>' ,
repo_name = '<value>' ,
))
if res is not None :
# handle response
pass
operations.GithubConfigureTargetResponse
Error Object
Status Code
Content Type
errors.SDKError
4xx-5xx
/
github_store_publishing_secrets
import speakeasy
from speakeasy .models import shared
s = speakeasy .Speakeasy (
security = shared .Security (
api_key = "<YOUR_API_KEY_HERE>" ,
),
)
res = s .github .github_store_publishing_secrets (request = shared .GithubStorePublishingSecretsRequest (
generate_gen_lock_id = '<value>' ,
))
if res is not None :
# handle response
pass
operations.GithubStorePublishingSecretsResponse
Error Object
Status Code
Content Type
errors.SDKError
4xx-5xx
/
import speakeasy
from speakeasy .models import shared
s = speakeasy .Speakeasy (
security = shared .Security (
api_key = "<YOUR_API_KEY_HERE>" ,
),
)
res = s .github .github_trigger_action (request = shared .GithubTriggerActionRequest (
gen_lock_id = '<value>' ,
org = '<value>' ,
repo_name = '<value>' ,
))
if res is not None :
# handle response
pass
operations.GithubTriggerActionResponse
Error Object
Status Code
Content Type
errors.SDKError
4xx-5xx
/