Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

ModioResponse

turupawn edited this page Jul 14, 2020 · 7 revisions

The FModioResponse class contains the response code, errors and cursor data form mod.io. This object is returned on every callback that interacts with mod.io and you can use it to check if your request was successful and to browse objects properly using the cursor filters.

Name Type Description
Code int32 Http code returned by mod.io.
ResultCount int32 Number of results returned in the current request.
ResultLimit int32 Maximum number of results returned. Defaults to 100 unless overridden by _limit.
ResultOffset int32 Number of results skipped over. Defaults to 1 unless overridden by _offset.
ResultTotal int32 Total number of results found.
ResultCached bool Returns whether the result was retrieved from local cache or directly from the mod.io API.
Error FModioError ModioError object containing the errors description in case

See also: API Errors, API Response Codes, Response formats, API cursors and objects, SDK