SoftSolzSoftSolz
HomeAPI GuideAPI ReferenceWidget Tester

List the files in a fix set, optionally with their content

GEThttps://app.softsolz.uk/api/v1/services/seo/code/fixes/{fix_set_id}/files

Recent Requests

Kept only in this browser
TimeStatusTook
Send a request with Try it to see it here.

Path Params

fix_set_idstringrequired

Headers

Authorizationstringrequired

Bearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.

Query Params

include_contentboolean

true returns before_content and after_content.

limitinteger

Page size, 1 to 200 (default 50).

offsetinteger

Rows to skip before the first result.

Response

Response Body · array of objects

idstringFix file id. Use it as file_id.
fix_set_idstringParent fix set.
file_pathstringRepository path.
change_kindstringupdate for an existing file, create for a new one.
titlestringShort description of the change.
reasonstring | nullWhy the change helps.
page_pathstring | nullURL path the file renders.
check_idsarray of stringsAudit checks the change addresses.
includedbooleanWhether the file will be part of the pull request.
after_bytesinteger | nullSize of the new content.
before_contentstring | nullOriginal content, only when include_content=true.
after_contentstring | nullNew content, only when include_content=true.

Request

curl --request GET \
--url https://app.softsolz.uk/api/v1/services/seo/code/fixes/{fix_set_id}/files \
--header 'Authorization: Bearer sk_live_your_key'

Credentials

Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.

Response · 200

{
"data": [
{
"id": "3f2b9c44-8f4e-4d0a-9c1b-2a7d6e5f1a23",
"fix_set_id": "3f2b9c44-8f4e-4d0a-9c1b-2a7d6e5f1a23",
"file_path": "src/pages/index.astro",
"change_kind": "update",
"title": "Add a meta description",
"reason": null,
"page_path": "/",
"check_ids": [
"description_present"
],
"included": true,
"after_bytes": 4210,
"before_content": null,
"after_content": null
}
],
"meta": {
"limit": 50,
"offset": 0,
"total": 1,
"has_more": false
}
}