Confluence集成实践:3:RestAPI集成方式
上篇文章介绍了Confluence提供的标准的RestAPI主要涵括在那些功能领域。在这篇文章中将会继续使用实际的例子来介绍如何使用这些RestAPI。
Rest Api
Confluence的相关RestAPI在上篇文章中进行了仔细的介绍,具体参看
项目 | 详细信息 |
---|---|
Confluence RestAPI介绍 | http://blog.csdn.net/liumiaocn/article/details/77814943 |
创建空间
Confluence的使用,一般项目从创建一个空间开始,所以第一步,使用Space相关的Api创建一个空间。
事前确认
使用Confluence的进行确认,目前只有两个space。
利用curl,使用Confluence提供的空间查询用的API也是得到一样的结果
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/space 2>/dev/null |python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/api/space"},"limit": 25,"results": [{"_expandable": {"description": "","homepage": "/rest/api/content/65547","icon": "","metadata": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/space/ds","webui": "/display/ds"},"id": 98305,"key": "ds","name": "Demonstration Space","type": "global"},{"_expandable": {"description": "","homepage": "/rest/api/content/65580","icon": "","metadata": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/space/SAM","webui": "/display/SAM"},"id": 98306,"key": "SAM","name": "SampleSpace","type": "global"}],"size": 2,"start": 0
}
[root@ku8-4 ~]#
name:相关的项目记载着空间名称,可以看出目前只有两个,和图形界面取得的结果是一致的。
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/space 2>/dev/null |python -mjson.tool |grep name"name": "Demonstration Space","name": "SampleSpace",
[root@ku8-4 ~]#
创建空间
API
curl -u admin1:admin123 -X POST -H ‘Content-Type: application/json’ -d’ {“key”: “TST”, “name”: “Example space”, “description”: { “plain”: { “value”: “This is an example space”, “representation”: “plain” } }, “metadata”: {}} ’ http://192.168.163.134:8090/rest/api/space
执行日志
[root@ku8-4 ~]# curl -u admin1:admin123 -X POST -H 'Content-Type: application/json' -d' {"key": "TST", "name": "Example space", "description": { "plain": { "value": "This is an example space", "representation": "plain" } }, "metadata": {}} ' http://192.168.163.134:8090/rest/api/space
{"id":98309,"key":"TST","name":"Example space","description":{"plain":{"value":"This is an example space","representation":"plain"},"_expandable":{"view":""}},"homepage":{"id":"65617","type":"page","status":"current","title":"Example space Home","extensions":{"position":"none"},"_links":{"webui":"/display/TST/Example+space+Home","edit":"/pages/resumedraft.action?draftId=65617","tinyui":"/x/UQAB","self":"http://192.168.163.134:8090/rest/api/content/65617"},"_expandable":{"container":"/rest/api/space/TST","metadata":"","operations":"","children":"/rest/api/content/65617/child","history":"/rest/api/content/65617/history","ancestors":"","body":"","version":"","descendants":"/rest/api/content/65617/descendant","space":"/rest/api/space/TST"}},"type":"global","_links":{"webui":"/display/TST","collection":"/rest/api/space","base":"http://192.168.163.134:8090","context":"","self":"http://192.168.163.134:8090/rest/api/space/TST"},"_expandable":{"metadata":"","icon":""}}[root@ku8-4 ~]#
创建后确认
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/space 2>/dev/null |python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/api/space"},"limit": 25,"results": [{"_expandable": {"description": "","homepage": "/rest/api/content/65547","icon": "","metadata": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/space/ds","webui": "/display/ds"},"id": 98305,"key": "ds","name": "Demonstration Space","type": "global"},{"_expandable": {"description": "","homepage": "/rest/api/content/65617","icon": "","metadata": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/space/TST","webui": "/display/TST"},"id": 98309,"key": "TST","name": "Example space","type": "global"},{"_expandable": {"description": "","homepage": "/rest/api/content/65580","icon": "","metadata": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/space/SAM","webui": "/display/SAM"},"id": 98306,"key": "SAM","name": "SampleSpace","type": "global"}],"size": 3,"start": 0
}
[root@ku8-4 ~]#
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/space 2>/dev/null |python -mjson.tool |grep name"name": "Demonstration Space","name": "Example space","name": "SampleSpace",
[root@ku8-4 ~]#
页面确认
确认group信息
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/group 2>/dev/null |python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/api/group"},"limit": 200,"results": [{"_links": {"self": "http://192.168.163.134:8090/rest/experimental/group/confluence-administrators"},"name": "confluence-administrators","type": "group"},{"_links": {"self": "http://192.168.163.134:8090/rest/experimental/group/confluence-users"},"name": "confluence-users","type": "group"}],"size": 2,"start": 0
}
[root@ku8-4 ~]#
确认用户信息
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/user?username=admin 2>/dev/null |python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/experimental/user?key=402823065e3f8d2b015e3f9595f20000"},"displayName": "admin","profilePicture": {"height": 48,"isDefault": true,"path": "/images/icons/profilepics/default.png","width": 48},"type": "known","userKey": "402823065e3f8d2b015e3f9595f20000","username": "admin"
}
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/user?username=admin1 2>/dev/null |python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/experimental/user?key=402823065e3f8d2b015e3fa2472d0001"},"displayName": "administrator","profilePicture": {"height": 48,"isDefault": false,"path": "/download/attachments/65575/user-avatar","width": 48},"type": "known","userKey": "402823065e3f8d2b015e3fa2472d0001","username": "admin1"
}
[root@ku8-4 ~]#
创建content
事前确认
确认目前的content信息
curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/content/ 2>/dev/null| python -mjson.tool
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/content/ 2>/dev/null| python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/api/content/"},"limit": 25,"results": [{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65537/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65537/descendant","history": "/rest/api/content/65537/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65537","self": "http://192.168.163.134:8090/rest/api/content/65537","tinyui": "/x/AQAB","webui": "/pages/viewpage.action?pageId=65537"},"extensions": {"position": 8},"id": "65537","status": "current","title": "Share your page with a team member (step 9 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65539/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65539/descendant","history": "/rest/api/content/65539/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65539","self": "http://192.168.163.134:8090/rest/api/content/65539","tinyui": "/x/AwAB","webui": "/pages/viewpage.action?pageId=65539"},"extensions": {"position": 4},"id": "65539","status": "current","title": "Get serious with a table (step 5 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65540/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65540/descendant","history": "/rest/api/content/65540/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65540","self": "http://192.168.163.134:8090/rest/api/content/65540","tinyui": "/x/BAAB","webui": "/pages/viewpage.action?pageId=65540"},"extensions": {"position": 7},"id": "65540","status": "current","title": "Tell people what you think in a comment (step 8 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65541/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65541/descendant","history": "/rest/api/content/65541/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65541","self": "http://192.168.163.134:8090/rest/api/content/65541","tinyui": "/x/BQAB","webui": "/pages/viewpage.action?pageId=65541"},"extensions": {"position": 3},"id": "65541","status": "current","title": "Prettify the page with an image (step 4 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65543/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65543/descendant","history": "/rest/api/content/65543/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65543","self": "http://192.168.163.134:8090/rest/api/content/65543","tinyui": "/x/BwAB","webui": "/pages/viewpage.action?pageId=65543"},"extensions": {"position": 5},"id": "65543","status": "current","title": "Lay out your page (step 6 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65544/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65544/descendant","history": "/rest/api/content/65544/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65544","self": "http://192.168.163.134:8090/rest/api/content/65544","tinyui": "/x/CAAB","webui": "/pages/viewpage.action?pageId=65544"},"extensions": {"position": 2},"id": "65544","status": "current","title": "Let's edit this page (step 3 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65545/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65545/descendant","history": "/rest/api/content/65545/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65545","self": "http://192.168.163.134:8090/rest/api/content/65545","tinyui": "/x/CQAB","webui": "/pages/viewpage.action?pageId=65545"},"extensions": {"position": 1},"id": "65545","status": "current","title": "A quick look at the editor (step 2 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65546/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65546/descendant","history": "/rest/api/content/65546/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65546","self": "http://192.168.163.134:8090/rest/api/content/65546","tinyui": "/x/CgAB","webui": "/pages/viewpage.action?pageId=65546"},"extensions": {"position": 0},"id": "65546","status": "current","title": "What is Confluence? (step 1 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65547/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65547/descendant","history": "/rest/api/content/65547/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65547","self": "http://192.168.163.134:8090/rest/api/content/65547","tinyui": "/x/CwAB","webui": "/display/ds/Welcome+to+Confluence"},"extensions": {"position": 8},"id": "65547","status": "current","title": "Welcome to Confluence","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65548/child","container": "/rest/api/space/ds","descendants": "/rest/api/content/65548/descendant","history": "/rest/api/content/65548/history","metadata": "","operations": "","space": "/rest/api/space/ds","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65548","self": "http://192.168.163.134:8090/rest/api/content/65548","tinyui": "/x/DAAB","webui": "/pages/viewpage.action?pageId=65548"},"extensions": {"position": 6},"id": "65548","status": "current","title": "Learn the wonders of autoconvert (step 7 of 9)","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65580/child","container": "/rest/api/space/SAM","descendants": "/rest/api/content/65580/descendant","history": "/rest/api/content/65580/history","metadata": "","operations": "","space": "/rest/api/space/SAM","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65580","self": "http://192.168.163.134:8090/rest/api/content/65580","tinyui": "/x/LAAB","webui": "/display/SAM/SampleSpace"},"extensions": {"position": "none"},"id": "65580","status": "current","title": "SampleSpace","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65596/child","container": "/rest/api/space/SAM","descendants": "/rest/api/content/65596/descendant","history": "/rest/api/content/65596/history","metadata": "","operations": "","space": "/rest/api/space/SAM","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65596&draftShareId=fb9fac91-4805-4f25-8fed-7f41c7182ca2","self": "http://192.168.163.134:8090/rest/api/content/65596","tinyui": "/x/PAAB","webui": "/pages/viewpage.action?pageId=65596"},"extensions": {"position": "none"},"id": "65596","status": "current","title": "2017-09-02 \u4f1a\u8bae\u7eaa\u8981","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65603/child","container": "/rest/api/space/SAM","descendants": "/rest/api/content/65603/descendant","history": "/rest/api/content/65603/history","metadata": "","operations": "","space": "/rest/api/space/SAM","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65603","self": "http://192.168.163.134:8090/rest/api/content/65603","tinyui": "/x/QwAB","webui": "/pages/viewpage.action?pageId=65603"},"extensions": {"position": "none"},"id": "65603","status": "current","title": "\u6587\u4ef6\u5217\u8868","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65604/child","container": "/rest/api/space/SAM","descendants": "/rest/api/content/65604/descendant","history": "/rest/api/content/65604/history","metadata": "","operations": "","space": "/rest/api/space/SAM","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65604","self": "http://192.168.163.134:8090/rest/api/content/65604","tinyui": "/x/RAAB","webui": "/pages/viewpage.action?pageId=65604"},"extensions": {"position": "none"},"id": "65604","status": "current","title": "\u5f00\u53d1\u6587\u6863","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65608/child","container": "/rest/api/space/SAM","descendants": "/rest/api/content/65608/descendant","history": "/rest/api/content/65608/history","metadata": "","operations": "","space": "/rest/api/space/SAM","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65608","self": "http://192.168.163.134:8090/rest/api/content/65608","tinyui": "/x/SAAB","webui": "/pages/viewpage.action?pageId=65608"},"extensions": {"position": "none"},"id": "65608","status": "current","title": "\u6d4b\u8bd5\u6587\u6863","type": "page"},{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/65617/child","container": "/rest/api/space/TST","descendants": "/rest/api/content/65617/descendant","history": "/rest/api/content/65617/history","metadata": "","operations": "","space": "/rest/api/space/TST","version": ""},"_links": {"edit": "/pages/resumedraft.action?draftId=65617","self": "http://192.168.163.134:8090/rest/api/content/65617","tinyui": "/x/UQAB","webui": "/display/TST/Example+space+Home"},"extensions": {"position": "none"},"id": "65617","status": "current","title": "Example space Home","type": "page"}],"size": 16,"start": 0
}
[root@ku8-4 ~]#
创建
以title为”new page”创建一个content,创建前后确认,确认创建的RESTAPI能够正常动作。
curl -u admin1:admin123 -X POST -H 'Content-Type: application/json' -d'{"type":"page","title":"new page","space":{"key":"TST"},"body":{"storage":{"value":"<p>This is a new page</p>","representation":"storage"}}}' http://192.168.163.134:8090/rest/api/content/ 2>/dev/null| python -mjson.tool
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/content/ 2>/dev/null| python -mjson.tool |grep 'new page'
[root@ku8-4 ~]# curl -u admin1:admin123 -X POST -H 'Content-Type: application/json' -d'{"type":"page","title":"new page","space":{"key":"TST"},"body":{"storage":{"value":"<p>This is a new page</p>","representation":"storage"}}}' http://192.168.163.134:8090/rest/api/content/ 2>/dev/null| python -mjson.tool
{"_expandable": {"children": "/rest/api/content/65618/child","descendants": "/rest/api/content/65618/descendant","metadata": "","operations": ""},"_links": {"base": "http://192.168.163.134:8090","collection": "/rest/api/content","context": "","edit": "/pages/resumedraft.action?draftId=65618","self": "http://192.168.163.134:8090/rest/api/content/65618","tinyui": "/x/UgAB","webui": "/display/TST/new+page"},"ancestors": [],"body": {"_expandable": {"anonymous_export_view": "","editor": "","export_view": "","styled_view": "","view": ""},"storage": {"_expandable": {"content": "/rest/api/content/65618"},"representation": "storage","value": "<p>This is a new page</p>"}},"container": {"_expandable": {"description": "","homepage": "/rest/api/content/65617","icon": "","metadata": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/space/TST","webui": "/display/TST"},"id": 98309,"key": "TST","name": "Example space","type": "global"},"extensions": {"position": "none"},"history": {"_expandable": {"contributors": "","lastUpdated": "","nextVersion": "","previousVersion": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/content/65618/history"},"createdBy": {"_links": {"self": "http://192.168.163.134:8090/rest/experimental/user?key=402823065e3f8d2b015e3fa2472d0001"},"displayName": "administrator","profilePicture": {"height": 48,"isDefault": false,"path": "/download/attachments/65575/user-avatar","width": 48},"type": "known","userKey": "402823065e3f8d2b015e3fa2472d0001","username": "admin1"},"createdDate": "2017-09-03T02:06:48.035-04:00","latest": true},"id": "65618","space": {"_expandable": {"description": "","homepage": "/rest/api/content/65617","icon": "","metadata": ""},"_links": {"self": "http://192.168.163.134:8090/rest/api/space/TST","webui": "/display/TST"},"id": 98309,"key": "TST","name": "Example space","type": "global"},"status": "current","title": "new page","type": "page","version": {"_expandable": {"content": "/rest/api/content/65618"},"_links": {"self": "http://192.168.163.134:8090/rest/experimental/content/65618/version/1"},"by": {"_links": {"self": "http://192.168.163.134:8090/rest/experimental/user?key=402823065e3f8d2b015e3fa2472d0001"},"displayName": "administrator","profilePicture": {"height": 48,"isDefault": false,"path": "/download/attachments/65575/user-avatar","width": 48},"type": "known","userKey": "402823065e3f8d2b015e3fa2472d0001","username": "admin1"},"hidden": false,"message": "","minorEdit": false,"number": 1,"when": "2017-09-03T02:06:48.035-04:00"}
}
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/content/ 2>/dev/null| python -mjson.tool |grep 'new page'"title": "new page",
[root@ku8-4 ~]#
Confluence确认
从Confluence里也可以清楚地确认到是添加了一个new page的content
确认具体内容
附件管理
事前确认
新建的content下没有任何附件
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/content/65618/child/attachment 2>/dev/null |python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/api/content/65618/child/attachment"},"limit": 50,"results": [],"size": 0,"start": 0
}
[root@ku8-4 ~]#
创建附件
[root@ku8-4 ~]# cat myfile.txt
My Test File Info
[root@ku8-4 ~]# curl -D- -u admin1:admin123 -X POST -H "X-Atlassian-Token: nocheck" -F "file=@myfile.txt" -F "comment=This is my File" http://192.168.163.134:8090/rest/api/content/65618/child/attachment
HTTP/1.1 100 ContinueHTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-ASEN: SEN-L10256677
Set-Cookie: JSESSIONID=D7EA9239BF035C0F267C20A948CCBC06; Path=/; HttpOnly
X-Seraph-LoginReason: OK
X-AUSERNAME: admin1
Cache-Control: no-cache, must-revalidate
Expires: Thu, 01 Jan 1970 00:00:00 GMT
X-Content-Type-Options: nosniff
Content-Type: application/json
Transfer-Encoding: chunked
Date: Sun, 03 Sep 2017 06:27:57 GMT{"results":[{"id":"att65622","type":"attachment","status":"current","title":"myfile.txt","version":{"by":{"type":"known","username":"admin1","userKey":"402823065e3f8d2b015e3fa2472d0001","profilePicture":{"path":"/download/attachments/65575/user-avatar","width":48,"height":48,"isDefault":false},"displayName":"administrator","_links":{"self":"http://192.168.163.134:8090/rest/experimental/user?key=402823065e3f8d2b015e3fa2472d0001"}},"when":"2017-09-03T02:27:56.763-04:00","message":"This is my File","number":1,"minorEdit":false,"hidden":false,"_links":{"self":"http://192.168.163.134:8090/rest/experimental/content/att65622/version/1"},"_expandable":{"content":"/rest/api/content/att65622"}},"container":{"id":"65618","type":"page","status":"current","title":"new page","extensions":{"position":"none"},"_links":{"webui":"/display/TST/new+page","edit":"/pages/resumedraft.action?draftId=65618","tinyui":"/x/UgAB","self":"http://192.168.163.134:8090/rest/api/content/65618"},"_expandable":{"container":"/rest/api/space/TST","metadata":"","operations":"","children":"/rest/api/content/65618/child","history":"/rest/api/content/65618/history","ancestors":"","body":"","version":"","descendants":"/rest/api/content/65618/descendant","space":"/rest/api/space/TST"}},"metadata":{"comment":"This is my File","mediaType":"text/plain","_expandable":{"currentuser":"","properties":"","frontend":""}},"extensions":{"mediaType":"text/plain","fileSize":19,"comment":"This is my File"},"_links":{"webui":"/display/TST/new+page?preview=%2F65618%2F65622%2Fmyfile.txt","download":"/download/attachments/65618/myfile.txt?version=1&modificationDate=1504420076763&api=v2","self":"http://192.168.163.134:8090/rest/api/content/att65622"},"_expandable":{"operations":"","children":"/rest/api/content/att65622/child","history":"/rest/api/content/att65622/history","ancestors":"","body":"","descendants":"/rest/api/content/att65622/descendant","space":"/rest/api/space/TST"}}],"size":1,"_links":{"base":"http://192.168.163.134:8090","context":""}}[root@ku8-4 ~]#
[root@ku8-4 ~]#
创建后确认
使用api方式确认
[root@ku8-4 ~]# curl -u admin1:admin123 http://192.168.163.134:8090/rest/api/content/65618/child/attachment 2>/dev/null |python -mjson.tool
{"_links": {"base": "http://192.168.163.134:8090","context": "","self": "http://192.168.163.134:8090/rest/api/content/65618/child/attachment"},"limit": 50,"results": [{"_expandable": {"ancestors": "","body": "","children": "/rest/api/content/att65622/child","container": "/rest/api/content/65618","descendants": "/rest/api/content/att65622/descendant","history": "/rest/api/content/att65622/history","operations": "","space": "/rest/api/space/TST","version": ""},"_links": {"download": "/download/attachments/65618/myfile.txt?version=1&modificationDate=1504420076763&api=v2","self": "http://192.168.163.134:8090/rest/api/content/att65622","webui": "/display/TST/new+page?preview=%2F65618%2F65622%2Fmyfile.txt"},"extensions": {"comment": "This is my File","fileSize": 19,"mediaType": "text/plain"},"id": "att65622","metadata": {"_expandable": {"currentuser": "","frontend": "","properties": ""},"comment": "This is my File","labels": {"_links": {"self": "http://192.168.163.134:8090/rest/api/content/att65622/label"},"limit": 200,"results": [],"size": 0,"start": 0},"mediaType": "text/plain"},"status": "current","title": "myfile.txt","type": "attachment"}],"size": 1,"start": 0
}
[root@ku8-4 ~]#
从页面确认
文件内容确认
注意要点
RestAPI方式访问,注意以下小问题
1. 官方文件提供的访问方式均类似为/rest/space格式,但是根据情况方式略有不同,不然会出现FILE NOT FOUND的低级问题,比如例子中均为/rest/api方式
2. 另外官方文档提供的是需要confluence的context的方式,所以/confluence一般也不需要,注意官方文档是举例,不是拿来直接使用
3. 建议实际生产环境中,提前验证一下,以防止安装设定不同带来影响
总结
RestAPI方式可以与Confluence进行集成,但是功能还略显不足,提供了关键的space和content的CRUD以及附件的管理方式,但是很多Confluence的强大功能还不能全部通过API来进行集成,事前无比确认此点。
参考文献
https://docs.atlassian.com/atlassian-confluence/REST/latest-server/#space-createSpace
https://developer.atlassian.com/confdev/confluence-server-rest-api/confluence-rest-api-examples
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
相关文章
- 免注册COM使用参考
免注册COM在使用时要使用文件清单(manifest文件),文件清单在使用时可分为两种: 1.程序清单: 指明程序包含哪些依赖组件。 C\C++的程序清单信息可在项目属性中编辑,用于自动生成。 C#的程序清单暂时没找到自动生成的办法,使用VS本身提供的清单生成工具生成的清单无法正确使…...
2024/4/17 12:47:13 - 命令行下打jar包
jar包打包可以使用jar指令实现打包,在命令行中输入jar可以查看jar指令的内容 从最后显示的两个示例看出存在两种打包的方法,两者的区别就是是否使用自己定义的MANIFEST清单文件。第一个示例没有使用MANIFEST文件进行打包,所以最终生成的jar包中MANIFEST文件为默认文件,这种…...
2024/5/9 1:55:46 - 广西首届网络安全选拔赛 MISC Wirteup
安全杂项(MISC)MISC 的全称是 miscellaneous 杂乱无章的意思,其中的题目可能涉及,流量分析,取证,人肉,大数据统计,等等。wireshark分值:200 附件:55ed7cafd1e91.zip黑客通过wireshark抓到管理员登陆网站的一段流量包(管理员的密码即是答案)解压后是一个pcap数据包,看…...
2024/5/9 1:51:18 - mysql中英混合排序+Java处理多音字
最近在研究java多音字,主要用于mysql中的字段存在英文+中文的混合数据时,出现的排序错乱问题,在网上找了大部分的实现方式,其中都是先字母A~Z,后中文方式的拼音首写字母A~Z: order by CONVERT(name USING gbk),发现除了排序不理想之外,还存在mysql无法识别多音字的问题…...
2024/5/8 23:50:53 - Qt进行UrlEncode/UrlDecode(URL编码/解码)
分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴! 为了让包含中文的 URL 可以使用,需要进行 UrlEncode 编码。Java 中有现成的类库可以使…...
2024/4/11 15:06:49 - 一款超级好用的PC程序安装包制作工具
Inno Setup编辑器...
2024/5/8 20:20:08 - HBase总结(十二)Java API 与HBase交互实例
HBase提供了Java Api的访问接口,掌握这个就跟Java应用使用RDBMS时需要JDBC一样重要import java.io.IOException;import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HColumnDescriptor; impor…...
2024/5/9 1:57:46 - Android 在java.class中使用gradle定义的变量&使用gradle替换manifest的${xx}
参考了:http://blog.csdn.net/nwsuafer/article/details/42006157场景:开发时需要用到测试环境URL,而打包时需要改回正式环境URL,来回的注释总有会弄错的时候,但是如果在gradle构建时定义则不需要每次都去检查自己定义的URL是否是测试或正式,而且代码也整洁好多1.在gradl…...
2024/5/8 16:05:23 - Visual Studio 工程制作程序安装包
目的描述:用Visual Studio 2010开发的工程,已经编译开发完成,需要将工程打包成安装包。参考:Visual Studio 2010制作程序安装包制作ICO图标文件的网站:比特虫在线制作ico图标VS2010安装包制作全过程图解(1)准备执行文件程序编译后后生成Release 文件夹,里面有exe可执行…...
2024/5/9 2:13:04 - 小程序的开发
微信小程序的开发微信小程序开始小程序代码的构成1、.json后缀的配置文件2、.wxml 后缀的 WXML 模板文件3、.wxss 后缀的 WXSS 样式文件4、.js 后缀的 JS 脚本逻辑文件小程序部分组件容器组件:view地图组件map小程序API小程序登录信息 wx.login()小程序发起请求wx.request()用…...
2024/4/19 22:19:04 - 最简单的URL及Base64编码及解码
什么是URL编码url编码是一种浏览器用来打包表单输入的格式。浏览器从表单中获取所有的name和其中的值 ,将它们以name/value参数编码(移去那些不能传送的字符,将数据排行等等)作为URL的一部分或者分离地发给服务器。URL编码遵循下列规则:每对name/value由&;符分开; 每…...
2024/4/17 12:48:50 - 0909.doc
rel="File-List" href="file:///D:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><事故米転売>福岡県内の業者経由 佐賀で「食用」に米卸売加工会社「三笠フーズ」(大阪市北区)の事故米転売問題で、同社か…...
2024/4/20 9:20:39 - exe安装文件制作(漂亮,现代,简约)
使用工具:NSIS + 牛牛1.安装NSIS工具,可百度下载。在示例代码中提供2种风格的安装方式如下: 风格1: 风格2: 安装过程代码配置在:文件中。UI界面风格的配置在: skin.zip中的xml配置文件中。注意:NSIS安装完成以后,需把Include目录和Plugins目录放到--->NSIS的安装目…...
2024/4/17 12:49:14 - vs2005 生成文件与win7兼容 \ 利用manifest提升程序为WIN7管理员权限
最近弄vs2005 可执行文件在win7上运行,发现兼容问题 经过网上搜寻得到一下答案,谢谢网上分享的朋友建立文本文件, 命名为”可执行文件名.exe.manifest”,并加入以下代码: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>&l…...
2024/4/20 14:43:59 - Dubbo Admin管理控制台
直接下载 dubbo admin管理控制台war包链接:https://pan.baidu.com/s/1ggeIIHX 密码:ck4h解压到一个全新的tomcat中的ROOT目录下,事先删除webapps下的ROOT下的所有文件。 启动tomcat,访问http://localhost:8080 出现输入用户和密码框。默认用户名和密码都是root,登录成功…...
2024/4/17 12:48:49 - XSS测试
跨站脚本漏洞是Web应用程序在将数据输出到网页的时候存在问题,导致恶意攻击者 可以往Web页面里插入恶意JavaScript、HTML代码,并将构造的恶意数据显示在页面的漏 洞中。攻击者一般利用此漏洞窃取或操纵客户会话和 Cookie,用于模仿合法用户,从而 使攻击者以该用户身份查看或…...
2024/4/19 12:53:55 - java中将汉字转拼音,解决pinyin4j多音节问题
2019独角兽企业重金招聘Python工程师标准>>> markdown编辑器貌似排版有问题,看不清楚或者想要代码的人可以私聊 前言:都知道利用pingyin4j可以将汉字转成拼音及汉字首字母,但是遇到多音节汉字就会有问题,下面附上解决多音节字节将汉字转字母或者转成汉字首字母的…...
2024/4/18 16:29:08 - 详谈js对url进行编码和解码(三种方式的区别)
今天在项目中发现一个bug,原作者本意是提取url中的某段信息与一已知信息进行比较,如果成立则执行相应代码。找来找去发现逻辑并没有问题,但是前段样式并没有改变,通过控制台打印提取出来的结果,发现是一段UTF8加密的文字,最后进行相应的解码代码才生效。Javascript语言用…...
2024/4/21 14:57:21 - dubbo-admin管理平台搭建
一、前言dubbo的使用,其实只需要有注册中心,消费者,提供者这三个就可以使用了,但是并不能看到有哪些消费者和提供者,为了更好的调试,发现问题,解决问题,因此引入dubbo-admin。通过dubbo-admin可以对消费者和提供者进行管理。二、下载与配置打包dubbo-admin的下载,可自…...
2024/4/11 15:07:40 - 数据仓库工作总结(觉得有点意思)
1. 概述本文作为我这些年实施数据仓库的总结,如有错误,请各位同仁指正。文档条理不是很清楚,而且也有很多口水话,我不想搞成一个真正的官方文档,所以很随意,符合我的性格。很多问题我只是提出来了,解决方案没有想好,也不知道怎么落到文字,就先提出来备注吧。文档原本…...
2024/4/22 7:09:56
最新文章
- 24V转3.8V用什么芯片方案-AH8310
在将24V降压至3.8V的电源转换中,AH8310是一个理想的选择。这款芯片是一款降压转换器,输入电压范围为4.5V至36V,输出电压可调,峰值电流可达1.5A。AH8310采用SOT23-6封装,内置MOS,适用于各种应用场合…...
2024/5/9 4:10:45 - 梯度消失和梯度爆炸的一些处理方法
在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言,在此感激不尽。 权重和梯度的更新公式如下: w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...
2024/5/7 10:36:02 - 随行付优化外卡收单,助力支付便利化
解决老年人和境外游客在支付过程中遇到的问题和障碍,正逐渐成为整个支付行业的焦点关注词汇。 在有关提高支付服务便利度的意见发布后,有关收单行业的好消息不断涌现:中国银联于3月15日宣布投入30亿元用于升级基础设施,促进支付便…...
2024/5/7 11:01:49 - 理解 Golang 变量在内存分配中的规则
为什么有些变量在堆中分配、有些却在栈中分配? 我们先看来栈和堆的特点: 简单总结就是: 栈:函数局部变量,小数据 堆:大的局部变量,函数内部产生逃逸的变量,动态分配的数据&#x…...
2024/5/7 18:11:44 - 【蓝桥杯】省模拟赛
题目 1.奇数次数2.最小步数3.最大极小值和最小极大值 1.奇数次数 问题描述 给定一个仅包含数字字符的字符串,统计一下这个字符串中出现了多少个值为奇数的数位。 输入格式 输入一行包含一个字符串,仅由数字字符组成。 输出格式 输出一行包含一个整数&am…...
2024/5/7 13:35:55 - 【外汇早评】美通胀数据走低,美元调整
原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...
2024/5/8 6:01:22 - 【原油贵金属周评】原油多头拥挤,价格调整
原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...
2024/5/7 9:45:25 - 【外汇周评】靓丽非农不及疲软通胀影响
原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...
2024/5/4 23:54:56 - 【原油贵金属早评】库存继续增加,油价收跌
原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...
2024/5/7 14:25:14 - 【外汇早评】日本央行会议纪要不改日元强势
原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...
2024/5/4 23:54:56 - 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响
原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...
2024/5/4 23:55:05 - 【外汇早评】美欲与伊朗重谈协议
原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...
2024/5/4 23:54:56 - 【原油贵金属早评】波动率飙升,市场情绪动荡
原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...
2024/5/7 11:36:39 - 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试
原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...
2024/5/4 23:54:56 - 【原油贵金属早评】市场情绪继续恶化,黄金上破
原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...
2024/5/6 1:40:42 - 【外汇早评】美伊僵持,风险情绪继续升温
原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...
2024/5/4 23:54:56 - 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势
原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...
2024/5/8 20:48:49 - 氧生福地 玩美北湖(上)——为时光守候两千年
原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...
2024/5/7 9:26:26 - 氧生福地 玩美北湖(中)——永春梯田里的美与鲜
原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...
2024/5/4 23:54:56 - 氧生福地 玩美北湖(下)——奔跑吧骚年!
原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...
2024/5/8 19:33:07 - 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!
原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...
2024/5/5 8:13:33 - 「发现」铁皮石斛仙草之神奇功效用于医用面膜
原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...
2024/5/8 20:38:49 - 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者
原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...
2024/5/4 23:54:58 - 广州械字号面膜生产厂家OEM/ODM4项须知!
原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...
2024/5/6 21:42:42 - 械字号医用眼膜缓解用眼过度到底有无作用?
原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...
2024/5/4 23:54:56 - 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...
解析如下:1、长按电脑电源键直至关机,然后再按一次电源健重启电脑,按F8健进入安全模式2、安全模式下进入Windows系统桌面后,按住“winR”打开运行窗口,输入“services.msc”打开服务设置3、在服务界面,选中…...
2022/11/19 21:17:18 - 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。
%读入6幅图像(每一幅图像的大小是564*564) f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...
2022/11/19 21:17:16 - 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...
win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面,在等待界面中我们需要等待操作结束才能关机,虽然这比较麻烦,但是对系统进行配置和升级…...
2022/11/19 21:17:15 - 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...
有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows,请勿关闭计算机”的提示,要过很久才能进入系统,有的用户甚至几个小时也无法进入,下面就教大家这个问题的解决方法。第一种方法:我们首先在左下角的“开始…...
2022/11/19 21:17:14 - win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...
置信有很多用户都跟小编一样遇到过这样的问题,电脑时发现开机屏幕显现“正在配置Windows Update,请勿关机”(如下图所示),而且还需求等大约5分钟才干进入系统。这是怎样回事呢?一切都是正常操作的,为什么开时机呈现“正…...
2022/11/19 21:17:13 - 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...
Win7系统开机启动时总是出现“配置Windows请勿关机”的提示,没过几秒后电脑自动重启,每次开机都这样无法进入系统,此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一:开机按下F8,在出现的Windows高级启动选…...
2022/11/19 21:17:12 - 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...
有不少windows10系统用户反映说碰到这样一个情况,就是电脑提示正在准备windows请勿关闭计算机,碰到这样的问题该怎么解决呢,现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法:1、2、依次…...
2022/11/19 21:17:11 - 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...
今天和大家分享一下win7系统重装了Win7旗舰版系统后,每次关机的时候桌面上都会显示一个“配置Windows Update的界面,提示请勿关闭计算机”,每次停留好几分钟才能正常关机,导致什么情况引起的呢?出现配置Windows Update…...
2022/11/19 21:17:10 - 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...
只能是等着,别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚,只能是考虑备份数据后重装系统了。解决来方案一:管理员运行cmd:net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...
2022/11/19 21:17:09 - 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?
原标题:电脑提示“配置Windows Update请勿关闭计算机”怎么办?win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢?一般的方…...
2022/11/19 21:17:08 - 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...
关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!关机提示 windows7 正在配…...
2022/11/19 21:17:05 - 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...
钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...
2022/11/19 21:17:05 - 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...
前几天班里有位学生电脑(windows 7系统)出问题了,具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面,长时间没反应,无法进入系统。这个问题原来帮其他同学也解决过,网上搜了不少资料&#x…...
2022/11/19 21:17:04 - 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...
本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法,并在最后教给你1种保护系统安全的好方法,一起来看看!电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中,添加了1个新功能在“磁…...
2022/11/19 21:17:03 - 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...
许多用户在长期不使用电脑的时候,开启电脑发现电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机。。.这要怎么办呢?下面小编就带着大家一起看看吧!如果能够正常进入系统,建议您暂时移…...
2022/11/19 21:17:02 - 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...
配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容,让我们赶快一起来看一下吧!配置windows update失败 还原更改 请勿关闭计算机&#x…...
2022/11/19 21:17:01 - 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...
不知道大家有没有遇到过这样的一个问题,就是我们的win7系统在关机的时候,总是喜欢显示“准备配置windows,请勿关机”这样的一个页面,没有什么大碍,但是如果一直等着的话就要两个小时甚至更久都关不了机,非常…...
2022/11/19 21:17:00 - 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...
当电脑出现正在准备配置windows请勿关闭计算机时,一般是您正对windows进行升级,但是这个要是长时间没有反应,我们不能再傻等下去了。可能是电脑出了别的问题了,来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...
2022/11/19 21:16:59 - 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...
我们使用电脑的过程中有时会遇到这种情况,当我们打开电脑之后,发现一直停留在一个界面:“配置Windows Update失败,还原更改请勿关闭计算机”,等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢࿰…...
2022/11/19 21:16:58 - 如何在iPhone上关闭“请勿打扰”
Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...
2022/11/19 21:16:57