Skip to content

Commit 98f1b81

Browse files
committed
Merge pull request #106 from Jeff-Meadows/dev-edition
Update references to new API doc site.
2 parents 9f8c975 + 21096d8 commit 98f1b81

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Get shared link direct download URL (files only)
143143
download_url = client.file(file_id='SOME_FILE_ID').get_shared_link_download_url()
144144
145145
Get file name
146-
~~~~~~~~~~~~~~~
146+
~~~~~~~~~~~~~
147147

148148
.. code-block:: python
149149
@@ -157,7 +157,7 @@ Rename an item
157157
client.file(file_id='SOME_FILE_ID').rename('bar-2.txt')
158158
159159
Move an item
160-
~~~~~~~~~~~~~~
160+
~~~~~~~~~~~~
161161

162162
.. code-block:: python
163163
@@ -282,7 +282,7 @@ Box Developer Edition
282282
---------------------
283283

284284
The Python SDK supports your
285-
`Box Developer Edition <https://developers.box.com/developer-edition/>`__ applications.
285+
`Box Developer Edition <https://box-content.readme.io/docs/app-users/>`__ applications.
286286

287287
Developer Edition support requires some extra dependencies. To get them, simply
288288

boxsdk/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def create_group(self, name):
253253

254254
def get_shared_item(self, shared_link, password=None):
255255
"""
256-
Get information about a Box shared link. https://developers.box.com/docs/#shared-items
256+
Get information about a Box shared link. https://box-content.readme.io/reference#get-a-shared-item
257257
258258
:param shared_link:
259259
The shared link.
@@ -318,7 +318,7 @@ def create_user(self, name, login=None, **user_attributes):
318318
:param user_attributes:
319319
Additional attributes for the user. See the documentation at
320320
https://box-content.readme.io/#create-an-enterprise-user for enterprise users
321-
or https://developers.box.com/developer-edition/ for app users.
321+
or https://box-content.readme.io/docs/app-users for app users.
322322
"""
323323
url = '{0}/users'.format(API.BASE_API_URL)
324324
user_attributes['name'] = name

boxsdk/object/base_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def update_info(self, data, params=None, headers=None, **kwargs):
117117
Update the object attributes in data.keys(). The semantics of the
118118
values depends on the the type and attributes of the object being
119119
updated. For details on particular semantics, refer to the Box
120-
developer API documentation <developers.box.com/docs>.
120+
developer API documentation <https://box-content.readme.io/docs/>.
121121
:type data:
122122
`dict`
123123
:param params:

boxsdk/object/file.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ def metadata(self, scope='global', template='properties'):
228228
:type scope:
229229
`unicode`
230230
:param template:
231-
The name of the metadata template. See https://developers.box.com/metadata-api/#basics for more details.
231+
The name of the metadata template.
232+
See https://box-content.readme.io/reference#metadata-object for more details.
232233
:type template:
233234
`unicode`
234235
:return:

boxsdk/object/item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def _get_accelerator_upload_url(self, file_id=None):
3939
def _preflight_check(self, size, name=None, file_id=None, parent_id=None):
4040
"""
4141
Make an API call to check if certain file can be uploaded to Box or not.
42-
(https://developers.box.com/docs/#files-preflight-check)
42+
(https://box-content.readme.io/reference#preflight-check)
4343
4444
:param size:
4545
The size of the file to be uploaded in bytes. Specify 0 for unknown file sizes.

boxsdk/object/metadata.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
class MetadataUpdate(object):
99
"""
1010
Helper class for updating Box metadata.
11-
See https://developers.box.com/metadata-api/#update for more details.
11+
See https://box-content.readme.io/reference#update-metadata for more details.
1212
See http://jsonpatch.com/ for details about JSON patch.
1313
"""
1414
def __init__(self):
@@ -113,7 +113,8 @@ def __init__(self, session, box_object, scope, template):
113113
:type scope:
114114
`unicode`
115115
:param template:
116-
The name of the metadata template. See https://developers.box.com/metadata-api/#basics for more details.
116+
The name of the metadata template.
117+
See https://box-content.readme.io/reference#metadata-object for more details.
117118
:type template:
118119
`unicode`
119120
"""
@@ -141,7 +142,7 @@ def start_update():
141142
def update(self, metadata_update):
142143
"""
143144
Update the key/value pairs associated with this metadata object.
144-
See https://developers.box.com/metadata-api/#update for more details.
145+
See https://box-content.readme.io/reference#update-metadata for more details.
145146
146147
:param metadata_update:
147148
A metadata update object containing the changes that should be made to the metadata.

0 commit comments

Comments
 (0)