Skip to content
Console
On this page

Source maps

A Source Map is one uploaded JavaScript source map of one release of a project environment.

A Source Map is one uploaded JavaScript source map of one release of a project environment. Captured stack frames of that release whose file matches file_url are mapped back to the original source before grouping. Uploading the same release and file again replaces the map.

Service Sylphx Observability · Resource type observability.sylphx.com/SourceMap · Name pattern orgs/{org}/projects/{project}/envs/{env}/source_maps/{source_map} · Shape record

Fields

FieldTypeWhat it is
namestringorgs/{org}/projects/{project}/envs/{env}/source_maps/{source_map}.
uidstringsmp_<digest>; the same release and file always have the same id. Output only.
metaResourceMetaResource metadata.
releasestringThe release the map belongs to, as sent in ErrorEvent.release. Required.
file_urlstringThe minified file the map describes: its URL (https://app.example.com/assets/index-3f2a.js) or its path (/assets/index-3f2a.js). A frame matches on the URL path. Required.
contentstringThe source map JSON (revision 3), at most 16 MiB. Written, never read back. Required.
content_sha256stringSHA-256 of content, hex. Output only.
size_bytesint64Size of content in bytes. Output only.
upload_timetimestampWhen the map was uploaded. Output only.

Methods

Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.

MethodCallWhat it does
POSTcreateUploads a source map for one release and minified file. Uploading the same release and file again replaces it.
GETgetGets a source map (without its content).
GETlistLists source maps, newest first; filter by release.

create

Uploads a source map for one release and minified file. Uploading the same release and file again replaces it.

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps · scope observability:write · effect write · Request, response and examples

get

Gets a source map (without its content).

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps/source-map · scope observability:read · effect read · Request, response and examples

list

Lists source maps, newest first; filter by release.

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/source_maps · scope observability:read · effect read · paginated · Request, response and examples