You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**searchterm**| Search term supplied to the API through the use of the `q` parameter. |
172
-
|**query**| Identical to `searchterm` and included for historical reasons to maintain backward compatibility. |
173
-
|**matchterm**| Identical to `searchterm` and included for historical reasons to maintain backward compatibility. |
174
-
|**page**| ID of the current page that the query has returned. This is a zero-based index. |
175
-
|**nextpage**| ID of the offset of the next page. Always set to the current page + 1, even if you have reached the end of the results. This is a zero-based index. |
176
-
|**previouspage**| ID of the offset of the previous page. If no previous page is available, it will be set to `null`. This is a zero-based index. |
177
-
|**total**| The total number of results that match the `searchterm` in the index. Note that this value is approximate. It becomes more accurate as you go deeper into the results or use more filters. |
178
-
|**language_filters**| Returns an array containing languages that exist in the result set. |
179
-
|**id**| Unique ID for this language used by searchcode, which can be used in other API calls. |
180
-
|**count**| Total number of results that are written in this language. |
181
-
|**language**| The name of this language. |
182
-
|**source_filters**| Returns an array containing sources that exist in the result set. |
183
-
|**id**| Unique ID for this source used by searchcode, which can be used in other API calls. |
184
-
|**count**| Total number of results that belong to this source. |
185
-
|**source**| The name of this source. |
186
-
|**results**| Returns an array containing the matching code results. |
187
-
|**id**| Unique ID for this code result used by searchcode, which can be used in other API calls. |
188
-
|**filename**| The filename for this file. |
189
-
|**repo**| HTML link to the location of the repository where this code was found. |
190
-
|**linescount**| Total number of lines in the matching file. |
191
-
|**location**| Location inside the repository where this file exists. |
192
-
|**name**| Name of the repository that this file belongs to. |
193
-
|**language**| The identified language of this result. |
194
-
|**url**| URL to searchcode's location of the file. |
195
-
|**md5hash**| Calculated MD5 hash of the file's contents. |
196
-
|**lines**| Contains line numbers and lines which match the `searchterm`. Lines immediately before and after the match are included. If only the filename matches, up to the first 15 lines of the file are returned. |
0 commit comments