SearchRemoteScopes makes calls to the "scope API" indirectly. "Search" is the remote endpoint to hit.
(query SearchRemoteScopesQuery)
| 342 | |
| 343 | // SearchRemoteScopes makes calls to the "scope API" indirectly. "Search" is the remote endpoint to hit. |
| 344 | func (d *DevlakeClient) SearchRemoteScopes(query SearchRemoteScopesQuery) SearchRemoteScopesOutput { |
| 345 | return sendHttpRequest[SearchRemoteScopesOutput](d.testCtx, d.timeout, &testContext{ |
| 346 | client: d, |
| 347 | printPayload: true, |
| 348 | inlineJson: false, |
| 349 | }, http.MethodGet, fmt.Sprintf("%s/plugins/%s/connections/%d/search-remote-scopes?search=%s&page=%d&pageSize=%d&%s", |
| 350 | d.Endpoint, |
| 351 | query.PluginName, |
| 352 | query.ConnectionId, |
| 353 | query.Search, |
| 354 | query.Page, |
| 355 | query.PageSize, |
| 356 | mapToQueryString(query.Params)), |
| 357 | nil, nil) |
| 358 | } |
| 359 | |
| 360 | // TriggerBlueprint FIXME |
| 361 | func (d *DevlakeClient) TriggerBlueprint(blueprintId uint64) models.Pipeline { |