Rapid7 Files API
Files are used primarily to manage content that can be required to successfully scan an App. For example, many supported methods of configuring authentication in a Scan Config require a payload and similarly Scan crawl configuration can be enhanced by supplying pre-populated crawl results. In order to create a File you will need to perform 2 steps:Use the Create File API to provide the File's metadata and generate an id (can be derived from the Location header as described in 'Creating resources').Use the Upload File Content API with the id returned from the previous step in order to add content to this File.Once a File is created and both steps outlined above have been successfully completed, then the File's contentAvailable property will be true, the File will be considered 'usable', and it can be referenced in specific locations of a Scan Config using its id. A File's type can only be one of 6 options: File Type File Extensions MACRO rec SWAGGER json yaml yml SELENIUM htm html side RECORDED_TRAFFIC trec xml txt har saz WSDL wsdl CERTIFICATE pfx GRAPHQL qlsgraphqls Heuristic analysis is performed when file contents are uploaded to ensure that the content-type is appropriate for the file type specified; this is done for security reasons, and under no circumstances is the content sent to an external entity. A note on security: a File can be locked, implying that it can only be modified by its owner (the original API client that created the metadata) and by extension only the File's owner is capable of uploading its content. If a File is unlocked any other client that has access to the File's App can make modifications, including overwriting its content.
Rapid7 Files API is one of 50 APIs that Rapid7 publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include File. The published artifact set on APIs.io includes an OpenAPI specification.
This API exposes 6 operations across 2 paths, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version v1.
Requests are made against a single base URL, https://[region].api.insight.rapid7.com/ias/v1.
Metadata
The identity and technical contract details declared by the specification.
Paths & Operations 6
Across 2 paths, the API surfaces 6 operations — 1 DELETE, 2 GET, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.
Files are used primarily to manage content that can be required to successfully scan an App. For example, many supported methods of configuring authentication in a Scan Config req…
Schemas 9
The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are EntityModelFile (10 properties), File (9 properties), PageMetadata (6 properties), ValidationErrors (4 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Rapid7 12
Other APIs Rapid7 publishes across the network.
This is an independent, third-party profile of Rapid7 Files API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.