Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

6.6 KB
Raw Blame
{
    "action": "time_entry:created",
    "time_entry": {
        "_type": "TimeEntry",
        "id": 2,
        "ongoing": false,
        "comment": {
            "format": "plain",
            "raw": "",
            "html": ""
        },
        "spentOn": "2025-01-02",
        "hours": "PT1H",
        "createdAt": "2025-01-01T21:20:58.333Z",
        "updatedAt": "2025-01-01T21:20:58.333Z",
        "_embedded": {
            "project": {
                "_type": "Project",
                "id": 3,
                "identifier": "project1",
                "name": "Project1",
                "active": true,
                "public": false,
                "description": {
                    "format": "markdown",
                    "raw": "1.  nucxdswssdfdsf\\_hb\\_xcddsfjsxczxchkxvcxvyuguygyujijdgrfcxbcfxbcgfjhkhksf",
                    "html": "<ol class=\"op-uc-list\">\n<li class=\"op-uc-list--item\">nucxdswssdfdsf_hb_xcddsfjsxczxchkxvcxvyuguygyujijdgrfcxbcfxbcgfjhkhksf</li>\n</ol>"
                },
                "createdAt": "2024-12-31T18:07:24.546Z",
                "updatedAt": "2025-01-01T20:41:55.823Z",
                "statusExplanation": {
                    "format": "markdown",
                    "raw": "",
                    "html": ""
                },
                "_links": {
                    "self": {
                        "href": "/api/v3/projects/3",
                        "title": "Project1"
                    },
                    "storages": [],
                    "categories": {
                        "href": "/api/v3/projects/3/categories"
                    },
                    "versions": {
                        "href": "/api/v3/projects/3/versions"
                    },
                    "memberships": {
                        "href": "/api/v3/memberships?filters=%5B%7B%22project%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%223%22%5D%7D%7D%5D"
                    },
                    "types": {
                        "href": "/api/v3/projects/3/types"
                    },
                    "update": {
                        "href": "/api/v3/projects/3/form",
                        "method": "post"
                    },
                    "updateImmediately": {
                        "href": "/api/v3/projects/3",
                        "method": "patch"
                    },
                    "delete": {
                        "href": "/api/v3/projects/3",
                        "method": "delete"
                    },
                    "schema": {
                        "href": "/api/v3/projects/schema"
                    },
                    "ancestors": [
                        {
                            "href": "/api/v3/projects/1",
                            "title": "Demo project"
                        }
                    ],
                    "projectStorages": {
                        "href": "/api/v3/project_storages?filters=%5B%7B%22projectId%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%223%22%5D%7D%7D%5D"
                    },
                    "parent": {
                        "href": "/api/v3/projects/1",
                        "title": "Demo project"
                    },
                    "status": {
                        "href": null
                    }
                }
            },
            "user": {
                "_type": "User",
                "id": 4,
                "name": "Nirved Mishra",
                "createdAt": "2024-12-31T12:52:44.786Z",
                "updatedAt": "2025-01-01T18:28:20.852Z",
                "login": "[email protected]",
                "admin": true,
                "firstName": "Nirved",
                "lastName": "Mishra",
                "email": "[email protected]",
                "avatar": "https://secure.gravatar.com/avatar/aef06c318f044c985140e4ecae344c4a?default=404&secure=true",
                "status": "active",
                "identityUrl": null,
                "language": "en",
                "_links": {
                    "self": {
                        "href": "/api/v3/users/4",
                        "title": "Nirved Mishra"
                    },
                    "memberships": {
                        "href": "/api/v3/memberships?filters=%5B%7B%22principal%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%224%22%5D%7D%7D%5D",
                        "title": "Memberships"
                    },
                    "showUser": {
                        "href": "/users/4",
                        "type": "text/html"
                    },
                    "updateImmediately": {
                        "href": "/api/v3/users/4",
                        "title": "Update [email protected]",
                        "method": "patch"
                    },
                    "lock": {
                        "href": "/api/v3/users/4/lock",
                        "title": "Set lock on [email protected]",
                        "method": "post"
                    },
                    "delete": {
                        "href": "/api/v3/users/4",
                        "title": "Delete [email protected]",
                        "method": "delete"
                    }
                }
            },
            "activity": {
                "_type": "TimeEntriesActivity",
                "id": 1,
                "name": "Management",
                "position": 1,
                "default": true,
                "_links": {
                    "self": {
                        "href": "/api/v3/time_entries/activities/1",
                        "title": "Management"
                    },
                    "projects": []
                }
            }
        },
        "_links": {
            "self": {
                "href": "/api/v3/time_entries/2"
            },
            "updateImmediately": {
                "href": "/api/v3/time_entries/2",
                "method": "patch"
            },
            "update": {
                "href": "/api/v3/time_entries/2/form",
                "method": "post"
            },
            "delete": {
                "href": "/api/v3/time_entries/2",
                "method": "delete"
            },
            "schema": {
                "href": "/api/v3/time_entries/schema"
            },
            "project": {
                "href": "/api/v3/projects/3",
                "title": "Project1"
            },
            "user": {
                "href": "/api/v3/users/4",
                "title": "Nirved Mishra"
            },
            "activity": {
                "href": "/api/v3/time_entries/activities/1",
                "title": "Management"
            }
        }
    }
}