Error rendering macro 'rw-search'

null

Downloads

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DescriptionURLPayloadResponseResponse Json
Get all custom properties

GET {{host}}/api/external/customProperties


Parameters:

type - string: can be used to filter for database ('db') or replica set ('rs') custom properties

e.g.: 

{{host}}/api/external/customProperties?type=rs

{{host}}/api/external/customProperties?type=db

-Returns an array of custom property objects


Code Block
languagejs
collapsetrue
[
	{
        "type": "db",
        "id": 33,
        "name": "1241234",
        "metadata_type": "text",
        "options": {
            "values": []
        },
        "created_by": "config",
        "description": null,
        "custom": true,
        "enabled": false
    },
	{
        "type": "rs",
        "id": 1002004,
        "name": "VIP Attention",
        "metadata_type": "oneof",
        "options": {
            "values": [
                "Yes",
                "No"
            ]
        },
        "created_by": "panagenda",
        "description": null,
        "custom": false,
        "enabled": true
    }
]


...