Skip to content

Workspace-scoped source-hash baseline lookup

POST
/v1/source-hashes
curl --request POST \
--url http://localhost:8090/v1/source-hashes \
--header 'Content-Type: application/json' \
--data '{ "uris": [ "example" ], "workspaceIds": [ "example" ] }'
Media typeapplication/json
object
uris
required

Workspace-relative paths

Array<string>
workspaceIds
Array<string>
Examplegenerated
{
"uris": [
"example"
],
"workspaceIds": [
"example"
]
}

One row per (workspace_id, uri)

Media typeapplication/json
Array<object>
object
workspaceId
string
nullable
uri
string
hash
string
Examplegenerated
[
{
"workspaceId": "example",
"uri": "example",
"hash": "example"
}
]