SharePoint API Endpoints
The 3Sixty SharePoint Online API makes use of several SharePoint REST API Endpoints. When setting up your connector, verify that your service account or credentialed user has the proper rights to make calls to the endpoints listed below.
Copy
API_FOLDER_PATH = _api/web/folders/
API_FOLDER_BY_URL_POST = _api/web/GetFolderByServerRelativePath(decodedurl='%s')/Files/add(url='%s',overwrite=true)
API_FOLDER_BY_URL_GET_FILES =_api/web/GetFolderByServerRelativePath(decodedurl='%s')/Files
API_FOLDER_BY_URL_GET_FOLDERS =_api/web/GetFolderByServerRelativePath(decodedurl='%s')/Folders
API_FOLDER_BY_URL_GET_ALL =_api/web/GetFolderByServerRelativePath(decodedurl='%s')?$expand=Files,Folders
API_FOLDER_DELETE = _api/Web/GetFolderByServerRelativePath(decodedurl='%s')
API_FILE_GET_PROPS = _api/Web/GetFileByServerRelativePath(decodedurl='%s')/Properties
API_FILE_GET_CONTENT = _api/Web/GetFileByServerRelativePath(decodedurl='%s')/$value
API_FILE_DELETE = _api/Web/GetFileByServerRelativePath(decodedurl='%s')
API_FILE_CHECKIN_MAJOR = _api/Web/GetFileByServerRelativePath(decodedurl='%s')/CheckIn(comment='%s',checkintype=1)
API_FILE_CHECKIN_MINOR = _api/Web/GetFileByServerRelativePath(decodedurl='%s')/CheckIn(comment='%s',checkintype=0)
API_FILE_CHECKOUT = _api/Web/GetFileByServerRelativePath(decodedurl='%s')/CheckOut()
API_FILE_GET_VERSIONS = _api/Web/GetFileByServerRelativePath(decodedurl='%s')?$expand=Versions
API_GET_SITES = _api/Web/webs
API_GET_AVAILABLE = _api/Web/AvailableContentTypes
API_LISTS_BY_TITLE = _api/Web/lists/GetByTitle('%s')
API_CONTENT_TYPES = _api/web/contenttypes
API_MAKE_SITE = _api/web/webinfos/add
API_MAKE_NAV_NODE = _api/web/Navigation/TopNavigationbar
API_MAKE_LISTS = _api/Web/lists
API_ADD_CONTENT_TYPE = _api/Web/lists/GetByTitle('%s')/ContentTypes/AddAvailableContentType
API_GET_LIST_TEMPLATES = _api/web/