[Tableau] REST API와 프로젝트 관리

2024. 11. 26. 17:35· Tech/Tableau
목차
  1. ▶︎ 프로젝트 생성
  2. 1. Request URI
  3. 2. Request Body
  4. 3. Response 결과
  5. ▶︎ 프로젝트 목록 조회
  6. 1. Request URI
  7. 2. Response 결과
  8. ▶︎ 통합 문서 게시
  9. 1. Request URI
  10. 2. Request Body
  11. 3. Response 결과

▶︎ 프로젝트 생성

1. Request URI

POST| https://서버 주소(ip)/api/서버 API 버전/sites/사이트 ID/projects

 

2. Request Body

<tsRequest>
	<project
	  name="프로젝트명"
	  description="프로젝트 내용" />
</tsRequest>

 

3. Response 결과

2번의 Body를 담아 1번의 URI를 사용해 요청을 보내면, 작업 관련 내용이 온다.

<tsResponse xmlns="http://tableau.com/api"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://tableau.com/api
  http://tableau.com/api/ts-api-3.4.xsd">
	<project id="프로젝트 ID"
	  name="프로젝트명"
	  description="프로젝트 내용"
	  createdAt="시간 정보"
	  updatedAt="시간 정보"
	  contentPermissions="ManagedByOwner">
		<owner id="owner id 정보"/>
		</project>
</tsResponse>

프로젝트 ID는 잘 메모해두는게 좋다.


▶︎ 프로젝트 목록 조회

1. Request URI

GET| https://서버 주소(ip)/api/서버 API 버전/sites/사이트 ID/projects

 

2. Response 결과

프로젝트 목록은 별도의 Body없이 조회가 가능하다.

<tsResponse xmlns="http://tableau.com/api"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://tableau.com/api
	http://tableau.com/api/ts-api-3.4.xsd">
	<pagination pageNumber="1" pageSize="100" totalAvailable="2"/>
	<projects>
		<project id="project id 정보"
			name="프로젝트명"
			description="프로젝트 내용"
			createdAt="시간 정보"
			updatedAt="시간 정보"
			contentPermissions="ManagedByOwner">
			<owner id="owner id 정보"/>
        	</project>
		<project id="project id 정보"
			name="프로젝트명"
			description="프로젝트 내용"
			createdAt="시간 정보"
			updatedAt="시간 정보"
			contentPermissions="ManagedByOwner">
			<owner id="owner id 정보"/>
		</project>
	</projects>
</tsResponse>

▶︎ 통합 문서 게시

1. Request URI

POST| https://서버 주소(ip)/api/서버 API 버전/sites/사이트 ID/workbooks

 

2. Request Body

<tsRequest>
	<workbook name="워크북명" showTabs="true" >
		<project id="프로젝트 ID"/>
	</workbook>
</tsRequest>

 

3. Response 결과

<tsResponse xmlns="http://tableau.com/api"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://tableau.com/api
	http://tableau.com/api/ts-api-3.4.xsd">
	<workbook id="워크북 ID"
		name="워크북명"
		contentUrl="new-workbook"
		. . . other workbook attributes>
		<project id="프로젝트 ID"
		name="프로젝트명"/>
		<owner id="owner id 정보"/>
		<tags/>
		<views>
			<view id="6305e2d7-0d86-4d2d-a45b-4811ab13cddd"
				name="Sheet 1"
				contentUrl="new-workbook/sheets/Sheet1"
				createdAt="2019-05-09T19:23:09Z"
				updatedAt="2019-05-09T19:23:09Z">
				<tags/>
			</view>
		</views>
		<dataAccelerationConfig accelerationEnabled="false"/>
	</workbook>
</tsResponse>
저작자표시 비영리 변경금지 (새창열림)
  1. ▶︎ 프로젝트 생성
  2. 1. Request URI
  3. 2. Request Body
  4. 3. Response 결과
  5. ▶︎ 프로젝트 목록 조회
  6. 1. Request URI
  7. 2. Response 결과
  8. ▶︎ 통합 문서 게시
  9. 1. Request URI
  10. 2. Request Body
  11. 3. Response 결과
'Tech/Tableau' 카테고리의 다른 글
  • Tableau Desktop & TabPy
  • [Tableau] REST API와 사용자 관리
  • [Tableau] REST API와 로그인 요청
  • [Tableau] LOD 표현식
zzzini
zzzini
종착지는 어디인지 모르지만
zzzini
나의 표류일지
zzzini
전체
오늘
어제
  • 분류 전체보기 (308)
    • ASAC 빅데이터 분석가 4기 (44)
      • Python기초 (6)
      • SQL (3)
      • Matplotlib & Seaborn (2)
      • Data Handling (6)
      • Web Crawling (3)
      • Machine Learning (9)
      • Deep Learning (10)
      • 데이터 분석 (1)
      • 기타 (2)
      • 수학 (2)
    • 코딩 테스트 준비 (168)
      • 5정한 (132)
      • 카카오 (14)
      • PCCP & PCCE (3)
      • 프로그래머스 (19)
    • 자격증 (35)
      • AWS CLF-C02 (18)
      • AWS SAA-C03 (1)
      • Tableau Desktop Specialist (5)
      • Tableau Certified Data Anal.. (11)
    • 독서 (17)
    • Tech (24)
      • Tableau (11)
      • AI (4)
      • Flask (1)
      • Node.js (2)
      • Cloud Computing (2)
      • Git & GitHub (1)
      • Notion API (1)
      • Linux (2)
    • Projects (2)
    • 알고리즘 공부 (6)
    • 🎵 (11)

블로그 메뉴

  • 글 쓰기
  • 홈
  • 방명록

공지사항

hELLO · Designed By 정상우.v4.2.1
zzzini
[Tableau] REST API와 프로젝트 관리
상단으로

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.