Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F3010151
get_collection_as.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
279 B
Referenced Files
None
Subscribers
None
get_collection_as.js
View Options
const
axios
=
require
(
"axios"
);
module
.
exports
=
({
collection
,
port
,
user
})
=>
{
const
session
=
user
?
TEST_CONFIG
.
USERS
[
user
].
SESSION
:
{};
return
axios
.
get
(
`http://localhost:
${
port
}
/api/v1/collections/
${
collection
}
`
,
session
)
.
then
(({
data
})
=>
data
);
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 7, 19:37 (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
631115
Default Alt Text
get_collection_as.js (279 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment