Skip to content

GET projects/{projectCode}/{branchName}/{filePath}/{fileName} markdown файл #9

@may-cat

Description

@may-cat

Нужно научиться отдавать что-то типа

    {
        "name": "myfile.md",
        "full_path": "/folder/myfile.md",
        "parent": "/folder/",
        "attributes": {
            "attrib1": "val1",
            "attrib2": "val2",
            "attrib3": 123,
            "attrib4": [
                "one", "two"
            ],
            "attrib5": "true",
            "attrib6": "false"
        },
        "text": "many many many many many words in text"
    }

Приведённый пример формируется из файла

---
attrib1: val1
attrib2: val2
attrib3: 123
attrib4:
  - one
  - two
attrib5: true
attrib6: false
---
many many many many many words in text

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions