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

アップロードファイルのAPIについてフルパスを取得する仕組み #2403

Closed
ryuring opened this issue Jun 16, 2023 · 2 comments
Assignees
Labels
Todo 実行確定タスク

Comments

@ryuring
Copy link
Collaborator

ryuring commented Jun 16, 2023

概要

ブログ記事のアイキャッチや、カスタムエントリーのファイルフィールドなど、APIでデータを取得した際に、フルパスを確認する術がない。

次のどれかの手段を検討する

  1. エンティティの対象フィールドをフルパスに変換する
  2. 別途フルパスのフィールドを追加する
  3. フルパスに変換するAPIを作成する

baserCMS version : 5.0.1

@ryuring ryuring added the Todo 実行確定タスク label Jun 16, 2023
@ryuring
Copy link
Collaborator Author

ryuring commented Sep 22, 2023

1番で実装します。

@ryuring
Copy link
Collaborator Author

ryuring commented Sep 22, 2023

BlogHelper::getEyeCatch() を参考にしてください

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Todo 実行確定タスク
Projects
None yet
Development

No branches or pull requests

2 participants