2024-07-15 08:17:44 +00:00
|
|
|
# \UserAPI
|
2024-05-30 16:34:11 +00:00
|
|
|
|
|
|
|
All URIs are relative to */api/v1*
|
|
|
|
|
|
|
|
Method | HTTP request | Description
|
|
|
|
------------- | ------------- | -------------
|
2024-07-15 08:17:44 +00:00
|
|
|
[**UserUserIdPut**](UserAPI.md#UserUserIdPut) | **Put** /user/{user_id} | Initiates a scraping operation for the entire user
|
2024-05-30 16:34:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## UserUserIdPut
|
|
|
|
|
|
|
|
> UserUserIdPut(ctx, userId).Execute()
|
|
|
|
|
|
|
|
Initiates a scraping operation for the entire user
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Example
|
|
|
|
|
|
|
|
```go
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2024-07-15 08:17:44 +00:00
|
|
|
"context"
|
|
|
|
"fmt"
|
|
|
|
"os"
|
2024-07-15 08:22:25 +00:00
|
|
|
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client/v0"
|
2024-05-30 16:34:11 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2024-07-15 08:17:44 +00:00
|
|
|
userId := "userId_example" // string | Anthrove UserID
|
|
|
|
|
|
|
|
configuration := openapiclient.NewConfiguration()
|
|
|
|
apiClient := openapiclient.NewAPIClient(configuration)
|
|
|
|
r, err := apiClient.UserAPI.UserUserIdPut(context.Background(), userId).Execute()
|
|
|
|
if err != nil {
|
|
|
|
fmt.Fprintf(os.Stderr, "Error when calling `UserAPI.UserUserIdPut``: %v\n", err)
|
|
|
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
|
|
|
}
|
2024-05-30 16:34:11 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### Path Parameters
|
|
|
|
|
|
|
|
|
|
|
|
Name | Type | Description | Notes
|
|
|
|
------------- | ------------- | ------------- | -------------
|
|
|
|
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
|
|
|
**userId** | **string** | Anthrove UserID |
|
|
|
|
|
|
|
|
### Other Parameters
|
|
|
|
|
|
|
|
Other parameters are passed through a pointer to a apiUserUserIdPutRequest struct via the builder pattern
|
|
|
|
|
|
|
|
|
|
|
|
Name | Type | Description | Notes
|
|
|
|
------------- | ------------- | ------------- | -------------
|
|
|
|
|
|
|
|
|
|
|
|
### Return type
|
|
|
|
|
|
|
|
(empty response body)
|
|
|
|
|
|
|
|
### Authorization
|
|
|
|
|
|
|
|
No authorization required
|
|
|
|
|
|
|
|
### HTTP request headers
|
|
|
|
|
|
|
|
- **Content-Type**: Not defined
|
|
|
|
- **Accept**: Not defined
|
|
|
|
|
|
|
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
|
|
|
|
[[Back to Model list]](../README.md#documentation-for-models)
|
|
|
|
[[Back to README]](../README.md)
|
|
|
|
|