Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include attachment details in the article's detailed response #400

Merged
merged 1 commit into from
Jul 31, 2023

Conversation

injoonH
Copy link
Member

@injoonH injoonH commented Jul 31, 2023

GET /articles/<id>/

Before

{
  "attachments": [
    [1],
    [2],
    [3]
  ]
}

After

{
  "attachments": [
      {
      "id": 1,
      "created_at": "2023-06-17T18:08:22.264122+09:00",
      "updated_at": "2023-06-17T18:08:22.264122+09:00",
      "deleted_at": "0001-01-01T08:27:52+08:27:52",
      "file": "...",
      "size": 1234,
      "mimetype": "image/png"
    }
  ]
}

@injoonH injoonH self-assigned this Jul 31, 2023
@injoonH
Copy link
Member Author

injoonH commented Jul 31, 2023

Fixed frontend code in the commit: sparcs-kaist/new-ara-web@bb25417. (Forgot to make a PR...)

@injoonH injoonH merged commit e33c15f into develop Jul 31, 2023
1 check passed
@injoonH injoonH deleted the feat/attachments branch July 31, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant