Skip to content

Commit

Permalink
docs: add API docs for /syms/rescan route
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Sep 25, 2024
1 parent d221d58 commit db74fb9
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
42 changes: 42 additions & 0 deletions api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1558,6 +1558,48 @@
}
}
},
"/syms/rescan": {
"post": {
"description": "Rescan symbols for a given IPSW.",
"produces": [
"application/json"
],
"tags": [
"Syms"
],
"summary": "Rescan",
"operationId": "postRescan",
"parameters": [
{
"type": "string",
"description": "path to IPSW",
"name": "path",
"in": "query",
"required": true
},
{
"type": "string",
"description": "path to AEA pem DB JSON file",
"name": "pem_db",
"in": "query"
},
{
"type": "string",
"description": "path to symbolication signatures directory",
"name": "sig_dir",
"in": "query"
}
],
"responses": {
"200": {
"$ref": "#/responses/successResponse"
},
"500": {
"$ref": "#/responses/genericError"
}
}
}
},
"/syms/scan": {
"post": {
"description": "Scan symbols for a given IPSW.",
Expand Down
42 changes: 42 additions & 0 deletions www/static/api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1558,6 +1558,48 @@
}
}
},
"/syms/rescan": {
"post": {
"description": "Rescan symbols for a given IPSW.",
"produces": [
"application/json"
],
"tags": [
"Syms"
],
"summary": "Rescan",
"operationId": "postRescan",
"parameters": [
{
"type": "string",
"description": "path to IPSW",
"name": "path",
"in": "query",
"required": true
},
{
"type": "string",
"description": "path to AEA pem DB JSON file",
"name": "pem_db",
"in": "query"
},
{
"type": "string",
"description": "path to symbolication signatures directory",
"name": "sig_dir",
"in": "query"
}
],
"responses": {
"200": {
"$ref": "#/responses/successResponse"
},
"500": {
"$ref": "#/responses/genericError"
}
}
}
},
"/syms/scan": {
"post": {
"description": "Scan symbols for a given IPSW.",
Expand Down

0 comments on commit db74fb9

Please sign in to comment.