<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>

<head>
</head>
<script language=javascript>
$(document).ready(function(){
	
	// 현재 url 추출
/* 	var url = window.location.pathname;
	// 현재 url에서 uri만 추출
	var lastPart = url.split('/').pop();
	

    $('.tabType4 .tab').each(function(index) {
		var $btn = $(this).children("button");
		var id = $btn.attr("id");

		// 개발가이드 그룹
		if (id === 'apiSpec' && /api.*Spec\.do$/.test(lastPart)) {
			$(this).addClass('active');
		}
		// 나머지 기본 처리
		else if (lastPart.indexOf(id) > -1) {
			$(this).addClass('active');
		}
    }); */
	
	
});

    hljs.highlightAll();
</script>
<style>

	.padding_add > p
	{
		padding-left: 30px;
		padding-bottom: 8px;
	}

	.padding_add > div > p
	{
		padding-left: 60px;
		padding-bottom: 8px;
	}



</style>

<!-- content 영역 -->
<div class="inner">
	<!-- send top -->
	<div class="send_top">
	
		<c:import url="./top_tepMenu.jsp" /><!--// tab button -->
		
		<!-- tab button -->
		<div class="api_guide_cont current">
			<div class="heading">
				<h2>REST API 개발 가이드</h2>
			</div>
			<!--// sub tab button -->
			<c:import url="./top_subTepMenu.jsp" />
			<!-- REST API 개발 가이드 > 알림톡  -->
			<div class="api_guide current" id="tab5_1">
				<div class="list_tab_wrap2 type3">
					<!-- tab button -->
					<ul class="list_tab">
						
						<li class="tab active"><button type="button" onclick="TabType1(this,'1');">채널 ID 조회</button></li>
						<li class="tab"><button type="button" onclick="TabType1(this,'2');">친구톡 보내기</button></li>
						<li class="tab"><button type="button" onclick="TabType1(this,'3');">전송내역조회</button></li>
						<li class="tab"><button type="button" onclick="TabType1(this,'4');">전송내역조회(상세)</button></li>
						<li class="tab"><button type="button" onclick="TabType1(this,'5');">발송가능건수</button></li>
						
					</ul><!--// tab button -->
				</div>
	
				<!-- 채널 ID 조회 -->
				<div class="fee_cont current" id="tab1_1">
					<c:import url="./ft/apiSpec_tab1.jsp" />
				</div>
				
				<!-- 알림톡 보내기 -->
				<div class="fee_cont" id="tab1_2">
					<c:import url="./ft/apiSpec_tab2.jsp" />
				</div>

				<!-- 전송내역조회 -->
				<div class="fee_cont" id="tab1_3">
					<c:import url="./ft/apiSpec_tab3.jsp" />
				</div>

				<!-- 전송내역조회(상세) -->
				<div class="fee_cont" id="tab1_4">
					<c:import url="./ft/apiSpec_tab4.jsp" />
				</div>
				
				<!-- 발송가능건수 -->
				<div class="fee_cont" id="tab1_5">
					<c:import url="./ft/apiSpec_tab5.jsp" />
				</div>
			</div>
			<!-- //REST API 개발 가이드 > 알림톡  -->
		</div>
	</div><!--// send top -->
</div>
