also looking at this
Storage endpoints
#57
1 file
+3
-3
| @@ -483,7 +483,7 @@ class Media | ||
| 483 | 483 | */ |
| 484 | 484 | public function setVisibility($path, $visibility) |
| 485 | 485 | { |
| 486 | return $this->client->request('POST', 'aws/set-visibility', compact('path', 'visibility')); | |
| 486 | return $this->client->request('POST', 'storage/set-visibility', compact('path', 'visibility')); | |
| 487 | 487 | } |
| 488 | 488 | |
| 489 | 489 | /** |
| @@ -495,7 +495,7 @@ class Media | ||
| 495 | 495 | */ |
| 496 | 496 | public function has($path) |
| 497 | 497 | { |
| 498 | $data = $this->client->request('POST', 'aws/has', compact('path')); | |
| 498 | $data = $this->client->request('POST', 'storage/has', compact('path')); | |
| 499 | 499 | |
| 500 | 500 | return $data['exists'] ?? false; |
| 501 | 501 | } |
| @@ -509,7 +509,7 @@ class Media | ||
| 509 | 509 | */ |
| 510 | 510 | public function getMetadata($path) |
| 511 | 511 | { |
| 512 | return $this->client->request('POST', 'aws/metadata', compact('path')); | |
| 512 | return $this->client->request('POST', 'storage/metadata', compact('path')); | |
| 513 | 513 | } |
| 514 | 514 | |
| 515 | 515 | /** |