RWTH-Informatik-Korean / bagel

0 stars 3 forks source link

Update models(moduleCategory, courseCategory, postCategory) #41

Closed 10Ho9 closed 1 year ago

10Ho9 commented 1 year ago

GET /category/module

[
    {
        "moduleCategory": {
            "category": "Praktische."
        },
        "_id": "63a076bce4ec3e8b6df2d9f9"
    },
    {
        "moduleCategory": {
            "category": "Technische."
        },
        "_id": "63a076bce4ec3e8b6df2d9fb"
    },
    {
        "moduleCategory": {
            "category": "Theoretische."
        },
        "_id": "63a076bce4ec3e8b6df2d9fd"
    },
    {
        "moduleCategory": {
            "category": "Mathematik."
        },
        "_id": "63a076bce4ec3e8b6df2d9ff"
    },
    {
        "moduleCategory": {
            "category": "Sonstige."
        },
        "_id": "63a076bce4ec3e8b6df2da01"
    },
    {
        "moduleCategory": {
            "category": "Wahlpflichtbereich."
        },
        "_id": "63a076bce4ec3e8b6df2da03"
    }
]

GET /category/course

[
    {
        "courseCategory": {
            "category": "Study"
        },
        "_id": "63a072eab8013b9d3f2bd0aa"
    },
    {
        "courseCategory": {
            "category": "1_Sem."
        },
        "_id": "63a07341a5694319e956a8c3"
    },
    {
        "courseCategory": {
            "category": "2_Sem."
        },
        "_id": "63a07341a5694319e956a8c5"
    },
    {
        "courseCategory": {
            "category": "3_Sem."
        },
        "_id": "63a07341a5694319e956a8c7"
    },
    {
        "courseCategory": {
            "category": "4_Sem."
        },
        "_id": "63a07341a5694319e956a8c9"
    },
    {
        "courseCategory": {
            "category": "5_Sem."
        },
        "_id": "63a07341a5694319e956a8cb"
    },
    {
        "courseCategory": {
            "category": "6_Sem."
        },
        "_id": "63a07342a5694319e956a8cd"
    },
    {
        "courseCategory": {
            "category": "Thesis."
        },
        "_id": "63a07342a5694319e956a8cf"
    }
]

GET /category/post

[
    {
        "postCategory": {
            "category": "Courses."
        },
        "_id": "63a07a76390fd84ac0342025"
    },
    {
        "postCategory": {
            "category": "Study."
        },
        "_id": "63a07a76390fd84ac0342027"
    },
    {
        "postCategory": {
            "category": "in Aachen"
        },
        "_id": "63a07a76390fd84ac0342029"
    },
    {
        "postCategory": {
            "category": "after RWTH"
        },
        "_id": "63a07a76390fd84ac034202b"
    }
]