Skip to content

Bookmarks

Create bookmark entries in WombatOAM, by sending a JSON array in the “bookmark” JSON object, all of which is within the HTTP request body. This array can contain one or more bookmark entries to be created.

PUT /api/bookmark
curl -u admin:admin --insecure -v -H "Content-Type:application/json" -X PUT \
"https://127.0.0.1:8443/api/bookmark" \
-d "{\"bookmarks\": [{\"title\": \"title\",\"url\": \"url1\"},{\"title\": \"title2\",\"url\": \"url2\"}]}"
{
"bookmarks":[
{"title":"My-Bookmark",
"url": "https://localhost:8443/#/metrics?f=0&n=0&mtype=default&metrics=&mcat=1"},
{... : ...},
...
]
}
{
"bookmarks":[
{"title":"My-Bookmark",
"url": "https://localhost:8443/#/metrics?f=0&n=0&mtype=default&metrics=&mcat=1"},
{... : ...},
...
]
}
Argument Description
bookmarks Required.

All the bookmarks currently created in WombatOAM. The JSON response is a “bookmarks” object with an array of bookmark arrays.

Retrieve all the existing bookmarks created in WombatOAM.

GET /api/bookmark
curl -u admin:admin --insecure -v /api/bookmarks -X GET "https://127.0.0.1:8443/api/bookmark"
{
"bookmarks":[
{"title":"My-Bookmark",
"url": "https://localhost:8443/#/metrics?f=0&n=0&mtype=default&metrics=&mcat=1"},
{... : ...},
...
]
}

All the bookmarks currently created in WombatOAM. The JSON response is a “bookmarks” object with an array of bookmark arrays.

Update/create one or more bookmark entries in WombatOAM.

POST /api/bookmark
curl -u admin:admin --insecure -v -H "Content-Type:application/json" -X POST \
"https://127.0.0.1:8443/api/bookmark" \
-d "{\"bookmarks\": [{\"title\": \"Newtitle\",\"url\": \"Newurl1\"},{\"title\": \"title2\",\"url\": \"url2\"}]}"
{
"bookmarks":[
{"title":"My-Bookmark",
"url": "https://localhost:8443/#/metrics?f=0&n=0&mtype=default&metrics=&mcat=1"},
{... : ...},
...
]
}
{
"bookmarks":[
{"title":"My-Bookmark",
"url": "https://localhost:8443/#/metrics?f=0&n=0&mtype=default&metrics=&mcat=1"},
{... : ...},
...
]
}
Argument Description
bookmarks Required.

All the bookmarks currently created in WombatOAM. The JSON response is a “bookmarks” object with an array of bookmark arrays.

Delete one or more bookmark entries in WombatOAM.

DELETE /api/bookmark
curl -u admin:admin --insecure -v -H "Content-Type:application/json" -X DELETE "https://127.0.0.1:8443/api/bookmark" -d "{\"bookmarks\": [{\"title\": \"title\",\"url\": \"url1\"},{\"title\": \"title2\",\"url\": \"url2\"}]}"
{
"bookmarks":[
{"title":"My-Bookmark",
"url": "https://localhost:8443/#/metrics?f=0&n=0&mtype=default&metrics=&mcat=1"},
{... : ...},
...
]
}
{
"bookmarks":[
{"title":"My-Bookmark",
"url": "https://localhost:8443/#/metrics?f=0&n=0&mtype=default&metrics=&mcat=1"},
{... : ...},
...
]
}
Argument Description
bookmarks Required.

All the bookmarks currently created in WombatOAM. The JSON response is a “bookmarks” object with an array of bookmark arrays.