rankvectors 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +191 -0
  4. data/Rakefile +10 -0
  5. data/docs/AddCredits200Response.md +22 -0
  6. data/docs/AddCreditsRequest.md +20 -0
  7. data/docs/AutoRechargeSettings.md +22 -0
  8. data/docs/ChangeResult.md +24 -0
  9. data/docs/ContentVerification.md +22 -0
  10. data/docs/ContentVerificationApi.md +81 -0
  11. data/docs/Crawl.md +30 -0
  12. data/docs/CrawlingApi.md +155 -0
  13. data/docs/CreateProjectRequest.md +60 -0
  14. data/docs/CreditBalance.md +30 -0
  15. data/docs/CreditBalanceInfo.md +26 -0
  16. data/docs/CreditsApi.md +161 -0
  17. data/docs/CustomCredentials.md +20 -0
  18. data/docs/DeleteProject200Response.md +20 -0
  19. data/docs/Error.md +24 -0
  20. data/docs/GenerateSuggestions200Response.md +22 -0
  21. data/docs/GenerateSuggestionsRequest.md +18 -0
  22. data/docs/GetImplementation200Response.md +20 -0
  23. data/docs/Implementation.md +36 -0
  24. data/docs/ImplementationInstructions.md +28 -0
  25. data/docs/ImplementationRequest.md +26 -0
  26. data/docs/ImplementationResponse.md +22 -0
  27. data/docs/ImplementationResult.md +24 -0
  28. data/docs/ImplementationSummary.md +24 -0
  29. data/docs/ImplementationsApi.md +313 -0
  30. data/docs/LinkOpportunity.md +28 -0
  31. data/docs/ListImplementations200Response.md +24 -0
  32. data/docs/PageInfo.md +24 -0
  33. data/docs/PageLimitStatus.md +22 -0
  34. data/docs/PeriodCharges.md +22 -0
  35. data/docs/Project.md +70 -0
  36. data/docs/ProjectCount.md +20 -0
  37. data/docs/ProjectsApi.md +292 -0
  38. data/docs/ReportImplementationStatus200Response.md +20 -0
  39. data/docs/ReportImplementationStatusRequest.md +22 -0
  40. data/docs/Rollback.md +24 -0
  41. data/docs/RollbackImplementation200Response.md +22 -0
  42. data/docs/RollbackImplementationRequest.md +20 -0
  43. data/docs/SpendingLimitStatus.md +24 -0
  44. data/docs/StartCrawlRequest.md +18 -0
  45. data/docs/StepByStepInstructions.md +20 -0
  46. data/docs/Suggestion.md +38 -0
  47. data/docs/SuggestionsApi.md +235 -0
  48. data/docs/UpdateSuggestionRequest.md +18 -0
  49. data/docs/UsageHistoryItem.md +26 -0
  50. data/docs/VerifyContent200Response.md +20 -0
  51. data/docs/VerifyContentRequest.md +20 -0
  52. data/docs/WebhooksApi.md +151 -0
  53. data/git_push.sh +57 -0
  54. data/lib/openapi_client/api/content_verification_api.rb +96 -0
  55. data/lib/openapi_client/api/crawling_api.rb +155 -0
  56. data/lib/openapi_client/api/credits_api.rb +168 -0
  57. data/lib/openapi_client/api/implementations_api.rb +332 -0
  58. data/lib/openapi_client/api/projects_api.rb +273 -0
  59. data/lib/openapi_client/api/suggestions_api.rb +242 -0
  60. data/lib/openapi_client/api/webhooks_api.rb +154 -0
  61. data/lib/openapi_client/api_client.rb +393 -0
  62. data/lib/openapi_client/api_error.rb +58 -0
  63. data/lib/openapi_client/configuration.rb +316 -0
  64. data/lib/openapi_client/models/add_credits200_response.rb +238 -0
  65. data/lib/openapi_client/models/add_credits_request.rb +259 -0
  66. data/lib/openapi_client/models/auto_recharge_settings.rb +292 -0
  67. data/lib/openapi_client/models/change_result.rb +328 -0
  68. data/lib/openapi_client/models/content_verification.rb +274 -0
  69. data/lib/openapi_client/models/crawl.rb +373 -0
  70. data/lib/openapi_client/models/create_project_request.rb +541 -0
  71. data/lib/openapi_client/models/credit_balance.rb +379 -0
  72. data/lib/openapi_client/models/credit_balance_info.rb +329 -0
  73. data/lib/openapi_client/models/custom_credentials.rb +265 -0
  74. data/lib/openapi_client/models/delete_project200_response.rb +229 -0
  75. data/lib/openapi_client/models/error.rb +268 -0
  76. data/lib/openapi_client/models/generate_suggestions200_response.rb +261 -0
  77. data/lib/openapi_client/models/generate_suggestions_request.rb +249 -0
  78. data/lib/openapi_client/models/get_implementation200_response.rb +229 -0
  79. data/lib/openapi_client/models/implementation.rb +454 -0
  80. data/lib/openapi_client/models/implementation_instructions.rb +372 -0
  81. data/lib/openapi_client/models/implementation_request.rb +362 -0
  82. data/lib/openapi_client/models/implementation_response.rb +293 -0
  83. data/lib/openapi_client/models/implementation_result.rb +268 -0
  84. data/lib/openapi_client/models/implementation_summary.rb +319 -0
  85. data/lib/openapi_client/models/link_opportunity.rb +355 -0
  86. data/lib/openapi_client/models/list_implementations200_response.rb +251 -0
  87. data/lib/openapi_client/models/page_info.rb +285 -0
  88. data/lib/openapi_client/models/page_limit_status.rb +292 -0
  89. data/lib/openapi_client/models/period_charges.rb +292 -0
  90. data/lib/openapi_client/models/project.rb +634 -0
  91. data/lib/openapi_client/models/project_count.rb +230 -0
  92. data/lib/openapi_client/models/report_implementation_status200_response.rb +229 -0
  93. data/lib/openapi_client/models/report_implementation_status_request.rb +316 -0
  94. data/lib/openapi_client/models/rollback.rb +302 -0
  95. data/lib/openapi_client/models/rollback_implementation200_response.rb +239 -0
  96. data/lib/openapi_client/models/rollback_implementation_request.rb +247 -0
  97. data/lib/openapi_client/models/spending_limit_status.rb +319 -0
  98. data/lib/openapi_client/models/start_crawl_request.rb +249 -0
  99. data/lib/openapi_client/models/step_by_step_instructions.rb +267 -0
  100. data/lib/openapi_client/models/suggestion.rb +497 -0
  101. data/lib/openapi_client/models/update_suggestion_request.rb +262 -0
  102. data/lib/openapi_client/models/usage_history_item.rb +331 -0
  103. data/lib/openapi_client/models/verify_content200_response.rb +229 -0
  104. data/lib/openapi_client/models/verify_content_request.rb +265 -0
  105. data/lib/openapi_client/version.rb +15 -0
  106. data/lib/openapi_client.rb +87 -0
  107. data/openapi_client.gemspec +39 -0
  108. data/spec/api/content_verification_api_spec.rb +48 -0
  109. data/spec/api/crawling_api_spec.rb +60 -0
  110. data/spec/api/credits_api_spec.rb +63 -0
  111. data/spec/api/implementations_api_spec.rb +91 -0
  112. data/spec/api/projects_api_spec.rb +82 -0
  113. data/spec/api/suggestions_api_spec.rb +75 -0
  114. data/spec/api/webhooks_api_spec.rb +59 -0
  115. data/spec/models/add_credits200_response_spec.rb +48 -0
  116. data/spec/models/add_credits_request_spec.rb +42 -0
  117. data/spec/models/auto_recharge_settings_spec.rb +48 -0
  118. data/spec/models/change_result_spec.rb +62 -0
  119. data/spec/models/content_verification_spec.rb +48 -0
  120. data/spec/models/crawl_spec.rb +76 -0
  121. data/spec/models/create_project_request_spec.rb +170 -0
  122. data/spec/models/credit_balance_info_spec.rb +60 -0
  123. data/spec/models/credit_balance_spec.rb +72 -0
  124. data/spec/models/custom_credentials_spec.rb +42 -0
  125. data/spec/models/delete_project200_response_spec.rb +42 -0
  126. data/spec/models/error_spec.rb +54 -0
  127. data/spec/models/generate_suggestions200_response_spec.rb +48 -0
  128. data/spec/models/generate_suggestions_request_spec.rb +36 -0
  129. data/spec/models/get_implementation200_response_spec.rb +42 -0
  130. data/spec/models/implementation_instructions_spec.rb +66 -0
  131. data/spec/models/implementation_request_spec.rb +68 -0
  132. data/spec/models/implementation_response_spec.rb +48 -0
  133. data/spec/models/implementation_result_spec.rb +54 -0
  134. data/spec/models/implementation_spec.rb +102 -0
  135. data/spec/models/implementation_summary_spec.rb +54 -0
  136. data/spec/models/link_opportunity_spec.rb +66 -0
  137. data/spec/models/list_implementations200_response_spec.rb +54 -0
  138. data/spec/models/page_info_spec.rb +54 -0
  139. data/spec/models/page_limit_status_spec.rb +48 -0
  140. data/spec/models/period_charges_spec.rb +48 -0
  141. data/spec/models/project_count_spec.rb +42 -0
  142. data/spec/models/project_spec.rb +200 -0
  143. data/spec/models/report_implementation_status200_response_spec.rb +42 -0
  144. data/spec/models/report_implementation_status_request_spec.rb +52 -0
  145. data/spec/models/rollback_implementation200_response_spec.rb +48 -0
  146. data/spec/models/rollback_implementation_request_spec.rb +42 -0
  147. data/spec/models/rollback_spec.rb +54 -0
  148. data/spec/models/spending_limit_status_spec.rb +54 -0
  149. data/spec/models/start_crawl_request_spec.rb +36 -0
  150. data/spec/models/step_by_step_instructions_spec.rb +42 -0
  151. data/spec/models/suggestion_spec.rb +100 -0
  152. data/spec/models/update_suggestion_request_spec.rb +40 -0
  153. data/spec/models/usage_history_item_spec.rb +60 -0
  154. data/spec/models/verify_content200_response_spec.rb +42 -0
  155. data/spec/models/verify_content_request_spec.rb +42 -0
  156. data/spec/spec_helper.rb +111 -0
  157. metadata +288 -0
@@ -0,0 +1,292 @@
1
+ # OpenapiClient::ProjectsApi
2
+
3
+ All URIs are relative to *https://api.rankvectors.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_project**](ProjectsApi.md#create_project) | **POST** /api/projects | Create a new project |
8
+ | [**delete_project**](ProjectsApi.md#delete_project) | **DELETE** /api/projects/{projectId} | Delete a project |
9
+ | [**get_project**](ProjectsApi.md#get_project) | **GET** /api/projects/{projectId} | Get project details |
10
+ | [**list_projects**](ProjectsApi.md#list_projects) | **GET** /api/projects | List all projects |
11
+
12
+
13
+ ## create_project
14
+
15
+ > <Project> create_project(create_project_request)
16
+
17
+ Create a new project
18
+
19
+ Create a new project for internal linking optimization
20
+
21
+ ### Examples
22
+
23
+ ```ruby
24
+ require 'time'
25
+ require 'openapi_client'
26
+ # setup authorization
27
+ OpenapiClient.configure do |config|
28
+ # Configure API key authorization: ApiKeyAuth
29
+ config.api_key['Authorization'] = 'YOUR API KEY'
30
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
31
+ # config.api_key_prefix['Authorization'] = 'Bearer'
32
+ end
33
+
34
+ api_instance = OpenapiClient::ProjectsApi.new
35
+ create_project_request = OpenapiClient::CreateProjectRequest.new({name: 'My Website', domain: 'https://example.com'}) # CreateProjectRequest |
36
+
37
+ begin
38
+ # Create a new project
39
+ result = api_instance.create_project(create_project_request)
40
+ p result
41
+ rescue OpenapiClient::ApiError => e
42
+ puts "Error when calling ProjectsApi->create_project: #{e}"
43
+ end
44
+ ```
45
+
46
+ #### Using the create_project_with_http_info variant
47
+
48
+ This returns an Array which contains the response data, status code and headers.
49
+
50
+ > <Array(<Project>, Integer, Hash)> create_project_with_http_info(create_project_request)
51
+
52
+ ```ruby
53
+ begin
54
+ # Create a new project
55
+ data, status_code, headers = api_instance.create_project_with_http_info(create_project_request)
56
+ p status_code # => 2xx
57
+ p headers # => { ... }
58
+ p data # => <Project>
59
+ rescue OpenapiClient::ApiError => e
60
+ puts "Error when calling ProjectsApi->create_project_with_http_info: #{e}"
61
+ end
62
+ ```
63
+
64
+ ### Parameters
65
+
66
+ | Name | Type | Description | Notes |
67
+ | ---- | ---- | ----------- | ----- |
68
+ | **create_project_request** | [**CreateProjectRequest**](CreateProjectRequest.md) | | |
69
+
70
+ ### Return type
71
+
72
+ [**Project**](Project.md)
73
+
74
+ ### Authorization
75
+
76
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: application/json
81
+ - **Accept**: application/json
82
+
83
+
84
+ ## delete_project
85
+
86
+ > <DeleteProject200Response> delete_project(project_id)
87
+
88
+ Delete a project
89
+
90
+ Delete a project and all associated data
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'openapi_client'
97
+ # setup authorization
98
+ OpenapiClient.configure do |config|
99
+ # Configure API key authorization: ApiKeyAuth
100
+ config.api_key['Authorization'] = 'YOUR API KEY'
101
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
102
+ # config.api_key_prefix['Authorization'] = 'Bearer'
103
+ end
104
+
105
+ api_instance = OpenapiClient::ProjectsApi.new
106
+ project_id = 'proj-123' # String | Unique identifier for the project
107
+
108
+ begin
109
+ # Delete a project
110
+ result = api_instance.delete_project(project_id)
111
+ p result
112
+ rescue OpenapiClient::ApiError => e
113
+ puts "Error when calling ProjectsApi->delete_project: #{e}"
114
+ end
115
+ ```
116
+
117
+ #### Using the delete_project_with_http_info variant
118
+
119
+ This returns an Array which contains the response data, status code and headers.
120
+
121
+ > <Array(<DeleteProject200Response>, Integer, Hash)> delete_project_with_http_info(project_id)
122
+
123
+ ```ruby
124
+ begin
125
+ # Delete a project
126
+ data, status_code, headers = api_instance.delete_project_with_http_info(project_id)
127
+ p status_code # => 2xx
128
+ p headers # => { ... }
129
+ p data # => <DeleteProject200Response>
130
+ rescue OpenapiClient::ApiError => e
131
+ puts "Error when calling ProjectsApi->delete_project_with_http_info: #{e}"
132
+ end
133
+ ```
134
+
135
+ ### Parameters
136
+
137
+ | Name | Type | Description | Notes |
138
+ | ---- | ---- | ----------- | ----- |
139
+ | **project_id** | **String** | Unique identifier for the project | |
140
+
141
+ ### Return type
142
+
143
+ [**DeleteProject200Response**](DeleteProject200Response.md)
144
+
145
+ ### Authorization
146
+
147
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
148
+
149
+ ### HTTP request headers
150
+
151
+ - **Content-Type**: Not defined
152
+ - **Accept**: application/json
153
+
154
+
155
+ ## get_project
156
+
157
+ > <Project> get_project(project_id)
158
+
159
+ Get project details
160
+
161
+ Get detailed information about a specific project
162
+
163
+ ### Examples
164
+
165
+ ```ruby
166
+ require 'time'
167
+ require 'openapi_client'
168
+ # setup authorization
169
+ OpenapiClient.configure do |config|
170
+ # Configure API key authorization: ApiKeyAuth
171
+ config.api_key['Authorization'] = 'YOUR API KEY'
172
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
173
+ # config.api_key_prefix['Authorization'] = 'Bearer'
174
+ end
175
+
176
+ api_instance = OpenapiClient::ProjectsApi.new
177
+ project_id = 'proj-123' # String | Unique identifier for the project
178
+
179
+ begin
180
+ # Get project details
181
+ result = api_instance.get_project(project_id)
182
+ p result
183
+ rescue OpenapiClient::ApiError => e
184
+ puts "Error when calling ProjectsApi->get_project: #{e}"
185
+ end
186
+ ```
187
+
188
+ #### Using the get_project_with_http_info variant
189
+
190
+ This returns an Array which contains the response data, status code and headers.
191
+
192
+ > <Array(<Project>, Integer, Hash)> get_project_with_http_info(project_id)
193
+
194
+ ```ruby
195
+ begin
196
+ # Get project details
197
+ data, status_code, headers = api_instance.get_project_with_http_info(project_id)
198
+ p status_code # => 2xx
199
+ p headers # => { ... }
200
+ p data # => <Project>
201
+ rescue OpenapiClient::ApiError => e
202
+ puts "Error when calling ProjectsApi->get_project_with_http_info: #{e}"
203
+ end
204
+ ```
205
+
206
+ ### Parameters
207
+
208
+ | Name | Type | Description | Notes |
209
+ | ---- | ---- | ----------- | ----- |
210
+ | **project_id** | **String** | Unique identifier for the project | |
211
+
212
+ ### Return type
213
+
214
+ [**Project**](Project.md)
215
+
216
+ ### Authorization
217
+
218
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: Not defined
223
+ - **Accept**: application/json
224
+
225
+
226
+ ## list_projects
227
+
228
+ > <Array<Project>> list_projects
229
+
230
+ List all projects
231
+
232
+ Get a list of all projects for the authenticated user
233
+
234
+ ### Examples
235
+
236
+ ```ruby
237
+ require 'time'
238
+ require 'openapi_client'
239
+ # setup authorization
240
+ OpenapiClient.configure do |config|
241
+ # Configure API key authorization: ApiKeyAuth
242
+ config.api_key['Authorization'] = 'YOUR API KEY'
243
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
244
+ # config.api_key_prefix['Authorization'] = 'Bearer'
245
+ end
246
+
247
+ api_instance = OpenapiClient::ProjectsApi.new
248
+
249
+ begin
250
+ # List all projects
251
+ result = api_instance.list_projects
252
+ p result
253
+ rescue OpenapiClient::ApiError => e
254
+ puts "Error when calling ProjectsApi->list_projects: #{e}"
255
+ end
256
+ ```
257
+
258
+ #### Using the list_projects_with_http_info variant
259
+
260
+ This returns an Array which contains the response data, status code and headers.
261
+
262
+ > <Array(<Array<Project>>, Integer, Hash)> list_projects_with_http_info
263
+
264
+ ```ruby
265
+ begin
266
+ # List all projects
267
+ data, status_code, headers = api_instance.list_projects_with_http_info
268
+ p status_code # => 2xx
269
+ p headers # => { ... }
270
+ p data # => <Array<Project>>
271
+ rescue OpenapiClient::ApiError => e
272
+ puts "Error when calling ProjectsApi->list_projects_with_http_info: #{e}"
273
+ end
274
+ ```
275
+
276
+ ### Parameters
277
+
278
+ This endpoint does not need any parameter.
279
+
280
+ ### Return type
281
+
282
+ [**Array&lt;Project&gt;**](Project.md)
283
+
284
+ ### Authorization
285
+
286
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
287
+
288
+ ### HTTP request headers
289
+
290
+ - **Content-Type**: Not defined
291
+ - **Accept**: application/json
292
+
@@ -0,0 +1,20 @@
1
+ # OpenapiClient::ReportImplementationStatus200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **message** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'openapi_client'
14
+
15
+ instance = OpenapiClient::ReportImplementationStatus200Response.new(
16
+ success: true,
17
+ message: Implementation status updated
18
+ )
19
+ ```
20
+
@@ -0,0 +1,22 @@
1
+ # OpenapiClient::ReportImplementationStatusRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **suggestion_id** | **String** | ID of the suggestion | |
8
+ | **api_key** | **String** | Your RankVectors API key | |
9
+ | **status** | **String** | Implementation status | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'openapi_client'
15
+
16
+ instance = OpenapiClient::ReportImplementationStatusRequest.new(
17
+ suggestion_id: sugg-123,
18
+ api_key: rv_1234567890abcdef,
19
+ status: success
20
+ )
21
+ ```
22
+
data/docs/Rollback.md ADDED
@@ -0,0 +1,24 @@
1
+ # OpenapiClient::Rollback
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique rollback identifier | |
8
+ | **reason** | **String** | Reason for rollback | |
9
+ | **created_at** | **Time** | Rollback timestamp | |
10
+ | **credits_refunded** | **Float** | Credits refunded | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'openapi_client'
16
+
17
+ instance = OpenapiClient::Rollback.new(
18
+ id: rollback-123,
19
+ reason: Incorrect link placement,
20
+ created_at: 2025-01-15T10:00Z,
21
+ credits_refunded: 0.5
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # OpenapiClient::RollbackImplementation200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **success** | **Boolean** | | [optional] |
8
+ | **credits_refunded** | **Float** | Credits refunded (50% of implementation cost) | [optional] |
9
+ | **message** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'openapi_client'
15
+
16
+ instance = OpenapiClient::RollbackImplementation200Response.new(
17
+ success: true,
18
+ credits_refunded: 0.5,
19
+ message: Successfully rolled back implementation. 0.5 credits refunded.
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # OpenapiClient::RollbackImplementationRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **reason** | **String** | Reason for rollback | |
8
+ | **credentials** | [**CustomCredentials**](CustomCredentials.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'openapi_client'
14
+
15
+ instance = OpenapiClient::RollbackImplementationRequest.new(
16
+ reason: Incorrect link placement,
17
+ credentials: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,24 @@
1
+ # OpenapiClient::SpendingLimitStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **enabled** | **Boolean** | Whether spending limit is enabled | |
8
+ | **limit** | **Float** | Spending limit | |
9
+ | **used** | **Float** | Amount used | |
10
+ | **remaining** | **Float** | Amount remaining | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'openapi_client'
16
+
17
+ instance = OpenapiClient::SpendingLimitStatus.new(
18
+ enabled: true,
19
+ limit: 100,
20
+ used: 25.5,
21
+ remaining: 74.5
22
+ )
23
+ ```
24
+
@@ -0,0 +1,18 @@
1
+ # OpenapiClient::StartCrawlRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **limit** | **Integer** | Maximum number of pages to crawl | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'openapi_client'
13
+
14
+ instance = OpenapiClient::StartCrawlRequest.new(
15
+ limit: 100
16
+ )
17
+ ```
18
+
@@ -0,0 +1,20 @@
1
+ # OpenapiClient::StepByStepInstructions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **steps** | **Array&lt;String&gt;** | Step-by-step instructions | |
8
+ | **html_example** | **String** | HTML example of the implementation | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'openapi_client'
14
+
15
+ instance = OpenapiClient::StepByStepInstructions.new(
16
+ steps: [&quot;Navigate to the page: https://example.com/page&quot;,&quot;Locate the text: &#39;Learn more about internal linking strategies.&#39;&quot;,&quot;Replace &#39;internal linking&#39; with a link to https://example.com/target&quot;],
17
+ html_example: &lt;a href&#x3D;&quot;https://example.com/target&quot;&gt;internal linking&lt;/a&gt;
18
+ )
19
+ ```
20
+
@@ -0,0 +1,38 @@
1
+ # OpenapiClient::Suggestion
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique suggestion identifier | |
8
+ | **project_id** | **String** | Project identifier | |
9
+ | **status** | **String** | Suggestion status | |
10
+ | **relevance_score** | **Float** | AI-calculated relevance score (0-1) | |
11
+ | **anchor_text** | **String** | Suggested anchor text | |
12
+ | **context** | **String** | Context where the link should be placed | [optional] |
13
+ | **source_page** | [**PageInfo**](PageInfo.md) | | |
14
+ | **target_page** | [**PageInfo**](PageInfo.md) | | |
15
+ | **reasoning** | **String** | AI reasoning for the suggestion | [optional] |
16
+ | **created_at** | **Time** | Suggestion creation timestamp | |
17
+ | **updated_at** | **Time** | Last update timestamp | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'openapi_client'
23
+
24
+ instance = OpenapiClient::Suggestion.new(
25
+ id: sugg-123,
26
+ project_id: proj-123,
27
+ status: pending,
28
+ relevance_score: 0.85,
29
+ anchor_text: internal linking,
30
+ context: Learn more about internal linking strategies.,
31
+ source_page: null,
32
+ target_page: null,
33
+ reasoning: High semantic similarity between source and target content,
34
+ created_at: 2025-01-15T10:00Z,
35
+ updated_at: 2025-01-15T10:00Z
36
+ )
37
+ ```
38
+