You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I uploaded a file in logs. When i fetched the logs i got the below URL for images key.
"images": [
{
"file": {
"id": "1",
"resource": "file",
"uri": "http://www/file/1"
}
}
],
The "http://www/file/1" is invalid file path the actual file path is "http://www/sites/default/files/farm/log/observation/farm.jpeg". someone please help me to get the proper url from logs.
The text was updated successfully, but these errors were encountered:
ugeshdg
changed the title
FarmOs API invalid file url's
FarmOs log API returns invalid file url's
Feb 1, 2022
Hi @ugeshdg it seems that you might be using farmOS v1?
I think this was reported here #41 (but with no solution). You might want to check #40 as well, I believe this would have been a step towards adding file support in v1.
I uploaded a file in logs. When i fetched the logs i got the below URL for images key.
"images": [
{
"file": {
"id": "1",
"resource": "file",
"uri": "http://www/file/1"
}
}
],
The "http://www/file/1" is invalid file path the actual file path is "http://www/sites/default/files/farm/log/observation/farm.jpeg". someone please help me to get the proper url from logs.
The text was updated successfully, but these errors were encountered: