Comments (2)
I'm not sure, but I think short URLs are only available for public files (see publish()).
For public files you can just use the public_url
property (see ResourceObject.public_url).
For non-public files it seems you can't get a short link.
from yadisk.
I'm not sure, but I think short URLs are only available for public files (see publish()).
For public files you can just use thepublic_url
property (see ResourceObject.public_url).For non-public files it seems you can't get a short link.
Guess, you are right.
Clear. Thanks for reply!
from yadisk.
Related Issues (20)
- Немного некорректная работа функции yadisk.YaDisk.check_token() для ограниченных прав HOT 3
- Ошибка в документации HOT 2
- Падает при загрузке на диск больших файлов HOT 7
- Не загружаются файлы с ':' в названии HOT 3
- Yadisk.Upload() gives error when parametrs are provided by names HOT 2
- Can't download specific file from public link HOT 2
- TypeError: 'type' object is not subscriptable HOT 1
- HTTPSConnectionPool(host='cloud-api.yandex.net', port=443) on Android HOT 2
- Проблема с загрузкой zip архив 175Mb. HOT 5
- YaDisk.Upload() not actaully apply argument "overwrite" HOT 1
- Ошибка Доступ запрещён. Возможно, у приложения недостаточно прав для данного действия. (Forbidden / ForbiddenError) HOT 1
- Не могу создать публичную ссылку на папку. HOT 1
- Downloading photos/videos from unlimited storage | Скачивание фото\видео из безлимитного хранилища HOT 4
- Как получить результат метода save_to_disk если результат SyncOperationLinkObject / How to get the result of the save_to_disk method if the result is SyncOperationLinkObject HOT 2
- [Bug] grant_type not in POST при отправке кода подтверждения HOT 1
- [Feature Request] link lifetime HOT 2
- [Question] yadisk.exceptions.UnauthorizedError: Не авторизован. (Unauthorized / UnauthorizedError) HOT 3
- [Bug] requests is not installed. После компиляции кода HOT 2
- [Bug] Проблема при сборке .exe файла HOT 2
- [Question] Не работает listdir HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yadisk.