curl --request POST \
--url https://pria.praxislxp.com/api/user/collections/select-all-ids \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parent": "<string>",
"institution": "<string>",
"fileNameSearch": "<string>"
}
'import requests
url = "https://pria.praxislxp.com/api/user/collections/select-all-ids"
payload = {
"parent": "<string>",
"institution": "<string>",
"fileNameSearch": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({parent: '<string>', institution: '<string>', fileNameSearch: '<string>'})
};
fetch('https://pria.praxislxp.com/api/user/collections/select-all-ids', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/collections/select-all-ids",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'parent' => '<string>',
'institution' => '<string>',
'fileNameSearch' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/collections/select-all-ids"
payload := strings.NewReader("{\n \"parent\": \"<string>\",\n \"institution\": \"<string>\",\n \"fileNameSearch\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/collections/select-all-ids")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"parent\": \"<string>\",\n \"institution\": \"<string>\",\n \"fileNameSearch\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/collections/select-all-ids")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"parent\": \"<string>\",\n \"institution\": \"<string>\",\n \"fileNameSearch\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"files": [
{
"_id": "<string>",
"originalname": "<string>"
}
],
"collections": [
{
"_id": "<string>",
"name": "<string>",
"fileCount": 123
}
],
"fileIds": [
"<string>"
],
"collectionIds": [
"<string>"
],
"totalFiles": 123,
"filtered": true
}Get all file and collection IDs for bulk select-all
Returns all file IDs and collection IDs matching the current scope (vault root or inside a collection), honoring the active filters from the UI (file-name search, status filter). When any filter is active, collections are NOT returned — selecting a whole collection would pull in non-matching files inside it, which is unsafe for bulk delete.
curl --request POST \
--url https://pria.praxislxp.com/api/user/collections/select-all-ids \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"parent": "<string>",
"institution": "<string>",
"fileNameSearch": "<string>"
}
'import requests
url = "https://pria.praxislxp.com/api/user/collections/select-all-ids"
payload = {
"parent": "<string>",
"institution": "<string>",
"fileNameSearch": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({parent: '<string>', institution: '<string>', fileNameSearch: '<string>'})
};
fetch('https://pria.praxislxp.com/api/user/collections/select-all-ids', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/user/collections/select-all-ids",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'parent' => '<string>',
'institution' => '<string>',
'fileNameSearch' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/user/collections/select-all-ids"
payload := strings.NewReader("{\n \"parent\": \"<string>\",\n \"institution\": \"<string>\",\n \"fileNameSearch\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pria.praxislxp.com/api/user/collections/select-all-ids")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"parent\": \"<string>\",\n \"institution\": \"<string>\",\n \"fileNameSearch\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/user/collections/select-all-ids")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"parent\": \"<string>\",\n \"institution\": \"<string>\",\n \"fileNameSearch\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"files": [
{
"_id": "<string>",
"originalname": "<string>"
}
],
"collections": [
{
"_id": "<string>",
"name": "<string>",
"fileCount": 123
}
],
"fileIds": [
"<string>"
],
"collectionIds": [
"<string>"
],
"totalFiles": 123,
"filtered": true
}Authorizations
JWT token passed in authorization header
Body
Vault scope (required at root level)
personal, instance, account Collection ID to scope within (null for vault root)
Override institution ID
Case-insensitive substring filter on file originalname
Filter files by status. 'excluded' means $nin [selected, deleted].
active, inactive, selected, error, deleted, excluded Response
Selection IDs and names
Files that will be selected (id + name preview)
Show child attributes
Show child attributes
Collections that will be selected (empty when a filter is active)
Show child attributes
Show child attributes
Legacy bare-id list (mirrors files[]._id)
Legacy bare-id list (mirrors collections[]._id)
True when a fileNameSearch or status filter scoped the result
Was this page helpful?