Skip to content

Latest commit

 

History

History
95 lines (52 loc) · 3.08 KB

File metadata and controls

95 lines (52 loc) · 3.08 KB

\AttemptApi

All URIs are relative to http://localhost:8000/api

Method HTTP request Description
save_stats POST /v1/attempt/save_stats For worker to set sync stats of a running attempt.
save_sync_config POST /v1/attempt/save_sync_config For worker to save the AttemptSyncConfig for an attempt.
set_workflow_in_attempt POST /v1/attempt/set_workflow_in_attempt For worker to register the workflow id in attempt.

save_stats

crate::models::InternalOperationResult save_stats(save_stats_request_body) For worker to set sync stats of a running attempt.

Parameters

Name Type Description Required Notes
save_stats_request_body SaveStatsRequestBody [required]

Return type

crate::models::InternalOperationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

save_sync_config

crate::models::InternalOperationResult save_sync_config(save_attempt_sync_config_request_body) For worker to save the AttemptSyncConfig for an attempt.

Parameters

Name Type Description Required Notes
save_attempt_sync_config_request_body SaveAttemptSyncConfigRequestBody [required]

Return type

crate::models::InternalOperationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

set_workflow_in_attempt

crate::models::InternalOperationResult set_workflow_in_attempt(set_workflow_in_attempt_request_body) For worker to register the workflow id in attempt.

Parameters

Name Type Description Required Notes
set_workflow_in_attempt_request_body SetWorkflowInAttemptRequestBody [required]

Return type

crate::models::InternalOperationResult

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]