Skip to content

NodeJS Express REST API for serving Chroniques Oubliées TTRPG compendium data

Notifications You must be signed in to change notification settings

stephaned68/comob-api

Repository files navigation

comob-api

NodeJS Express REST API for serving Chroniques Oubliées TTRPG compendium data

Available routes

/dataset

Returns the list of datasets

"rs": [
    {
        "dbid": "dataset id",
        "name": "name of the dataset",
        "showAbilities": [
            {
                "type": "ability type to display",
                "label": "label on the button"
            },
            ...
        ],
        "hidePaths": [
            "path type to hide",
            ...
        ],
        "currency": "currency name",
        "sag": {
            "short": "abreviation for wisdom or perception",
            "long": "long name for wisdom or perception"
        },
        "colors": {
            "title": "HTML color code for header title",
            "text": "HTML color code for header text"
        }
    }
]

/types/paths/:ds

Returns the list of paths types for a given dataset (:ds)


/types/abilities/:ds

Returns the list of ability types for a given dataset (:ds)


/families/:ds

Returns the list of profile families for a given dataset (:ds)


/profiles/:ds

Returns the list of all profiles for a given dataset (:ds)


/profiles/:ds/?family=:family1,:family2

Returns the list of profiles for a given dataset (:ds) and the given family ids (:family1, :family2, etc...)


/paths/:ds/?type=:type

Returns the list of paths for a given dataset (:ds) and special type (:type)


/paths/:ds/:profile

Returns the list of paths for a given dataset (:ds) and profile (:profile)


/abilities/:ds/?type=:type

Returns the list of abilities for a given dataset (:ds) and type (:type) such as prestige or epic


/abilities/:ds/:path

Returns the list of abilities for a given dataset (:ds) and path (:path)


/abilities/:ds/?profile=:profile

Returns the list of abilities by paths for a given dataset (:ds) and profile (:profile)


/categories/:ds

Returns the list of all main equipment categories for a given dataset (:ds)


/categories/:ds/:parent

Returns the list of sub-categories for a given dataset (:ds) and parent category (:parent)


/equipments/:ds/?profile=:profile

Returns the list of base equipment for a given dataset (:ds) and profile (:profile)


/equipments/:ds/:category

Returns the list of all equipments for a given dataset (:ds) and sub-category (:category)

About

NodeJS Express REST API for serving Chroniques Oubliées TTRPG compendium data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published